Skip to content

Commit 03aed00

Browse files
authored
Clarify Swift toolchain hermeticity comment in MODULE.bazel
1 parent 96cd3b5 commit 03aed00

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎MODULE.bazel‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,11 @@ use_repo(
226226
"swift-resource-dir-macos",
227227
)
228228

229-
# Hermetic Swift toolchain (swift.org) for building `unified/swift-syntax-rs`.
230-
# Only registered as an exec toolchain on Linux; on macOS `rules_swift` auto-
231-
# registers `xcode_swift_toolchain` (host Xcode + OS-provided Swift runtime).
232-
# Version comes from `unified/swift-syntax-rs/.swift-version`.
229+
# Swift toolchain for building `unified/swift-syntax-rs`. On Linux we register
230+
# a hermetic swift.org toolchain as the exec toolchain; on macOS `rules_swift`
231+
# auto-registers `xcode_swift_toolchain` (host Xcode + OS-provided Swift
232+
# runtime), which is not hermetic. Version comes from
233+
# `unified/swift-syntax-rs/.swift-version`.
233234
swift = use_extension("@rules_swift//swift:extensions.bzl", "swift")
234235
swift.toolchain(
235236
name = "swift_toolchain",

0 commit comments

Comments
 (0)