Skip to content

swift: bump rules_swift and shrink swift/toolchain/toolchain.bzl to the upstream exec toolchain #6528

Open

Description

@TrapsterDK

Blocked on: bazelbuild/rules_swift#1993 and bazelbuild/rules_swift#1996 merging and shipping in a rules_swift release after 4.2.2

Goal: when that release ships, bump rules_swift to it, then drop patches/rules_swift/*, the rules_swift row in cli/adopt/src/overrides.rs and the patches/README.md row. The toolchain does not change: #9375 already moved rules_dx onto the public swift.toolchain tag with sysroot and env.

If review renames sysroot or env upstream, update the swift.toolchain tag in MODULE.bazel in the same change.

Upstream review

If bazelbuild/rules_swift#1996 closes without merging: at the release, drop only toolchain_sysroot_env.patch and keep non_root_toolchain.patch, while a new P2 issue decides whether to go back to rules_dx's own download (git show fa4da181d^:swift/toolchain/toolchain.bzl).

Follows #5714 (#9375). Takes over the upstream tracking from #6526.

Assisted by Claude.

Activity

  1. added
    P2
    blocked
    model:sonnet
    on Nov 4, 2026
  2. github-actions commented on Nov 5, 2026

    @github-actions
    Contributor

    This issue has the blocked label but no Blocked on: line in its body. Add one naming the blocking issue (#N), a pull request URL, or the owner action. See CONTRIBUTING.md.

  3. added
    blocked
    and removed
    blocked
    on Nov 7, 2026
  4. TrapsterDK commented on Nov 11, 2026

    @TrapsterDK
    CollaboratorAuthor

    #11415 no longer depends on this; rules_dx now patches rules_swift only for Windows/clang-cl (PR #11998).

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

    P2blockedmodel:sonnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions