Swift and ObjC: warnings fail, strict concurrency is on, and swift_lint is a default linter. Needs macOS. **Where** (origin/main 4d1324dfc4) - cc/private/defs.bzl:179-181: `cc_objc_library` passes kwargs straight through; no `dx_warnings_as_errors`. - core/wrapper.bzl:602-616: `dx_warnings_as_errors`. - swift/lang.json:67: default `lint` is typos only. - core/quality/tiers/swift_lint/{standard,strict}.json - core/quality/curated_defaults_tests.bzl:239-240, 279-280 **Fix** - `cc_objc_library` routes through `dx_warnings_as_errors` (`-Werror`), with `treat_warnings_as_errors = False` per target. - Swift strict concurrency on by default. - Add swift_lint to swift's default `lint`. Add a real linter to objc's default `lint`. - Remove swift and objc from the #14686 debt allowlist. - Rule lists stay in #14680. **Tests** - Analysis test: `-Werror` on cc_objc_library; gone with `--@rules_dx//config:warnings_as_errors=false`. - macOS: an ObjC warning fails `tools/dx test`; a Swift data race fails. - curated_defaults_tests.bzl rows updated. **Depends on** C1 (#14647), C2 (#14684), C4 (#14686). Pairs with #14680. Part of #14647 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Activity