Skip to content

consumer-setup: Swift toolchain tags need no patched rules_swift (part of #11387) #11415

Closed

Description

@TrapsterDK

Part of #11387, from the #11401 classification. Consumer-breaking: MODULE.bazel:992-1004 uses swift.toolchain(sysroot = ..., env = ...), which only the patches add; the README row says evaluating the swift extension fails with unknown attribute sysroot without them.

Where

Fix

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hwH5AS7ytCaBAYwEtU

Activity

  1. added
    P2
    model:sonnet
    on Nov 10, 2026
  2. TrapsterDK commented on Nov 11, 2026

    @TrapsterDK
    CollaboratorAuthor

    PR #11998 moves the Linux Swift toolchain repos into a rules_dx extension (swift_linux) and drops the toolchain_sysroot_env, non_root_toolchain, target_runtime_root and sysroot_host_libs patches. Remaining:

  3. TrapsterDK commented on Nov 11, 2026

    @TrapsterDK
    CollaboratorAuthor

    PR #11998 rebased on main (cdd6cb2); Linux //swift/... //patches/... passes. Remaining:

  4. TrapsterDK commented on Nov 12, 2026

    @TrapsterDK
    CollaboratorAuthor

    PR #11998 rebased on main (a79a836) and drops LD_LIBRARY_PATH from every Linux Swift toolchain (RUNPATH symlinks only, as #12068/#11367). Linux //swift/... //patches/...: 54 passed, 0 failed. Evidence 43121170584 failures owned by #11746 and #12072; pr-check 43121177672 failures by #12101 and #12076. Remaining:

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

    P2model:sonnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions