Skip to content

swift, objc: cc_objc_library warnings fail, strict concurrency, swift_lint by default #14689

Open

Description

@TrapsterDK

Swift and ObjC: warnings fail, strict concurrency is on, and swift_lint is a default linter. Needs macOS.

Where (origin/main 4d1324d)

  • 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

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

Activity

  1. added
    local
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    local

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions