Skip to content

Commit 0134a2a

Browse files
committed
Bazel: Update to latest rules_cc, rules_swift, and apple_support
Note that `rules_swift` requires the versions of `apple_support` and `rules_cc` we're updating to. Also update the Swift version we use in the build to 6.3.3, which is supported out-of-the-box by the new `rules_swift` version.
1 parent 91eb992 commit 0134a2a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

MODULE.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ local_path_override(
1515
# see https://registry.bazel.build/ for a list of available packages
1616

1717
bazel_dep(name = "platforms", version = "1.0.0")
18-
bazel_dep(name = "rules_cc", version = "0.2.17")
18+
bazel_dep(name = "rules_cc", version = "0.2.20")
1919
bazel_dep(name = "rules_go", version = "0.60.0")
2020
bazel_dep(name = "rules_java", version = "9.6.1")
2121
bazel_dep(name = "rules_pkg", version = "1.2.0")
@@ -31,13 +31,13 @@ bazel_dep(name = "gazelle", version = "0.50.0")
3131
bazel_dep(name = "rules_dotnet", version = "0.21.5-codeql.1")
3232
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
3333
bazel_dep(name = "rules_rust", version = "0.69.0")
34-
bazel_dep(name = "rules_swift", version = "4.0.0-rc4")
34+
bazel_dep(name = "rules_swift", version = "4.0.0-rc5")
3535
bazel_dep(name = "swift-syntax", version = "603.0.2")
3636

3737
# Needed so we can `use_repo` `local_config_xcode` and
3838
# `local_config_apple_cc_toolchains` below (referenced by the per-target
3939
# Xcode-config transition in `unified/swift-syntax-rs/xcode_transition.bzl`).
40-
bazel_dep(name = "apple_support", version = "2.6.1")
40+
bazel_dep(name = "apple_support", version = "2.8.0")
4141
bazel_dep(name = "zstd", version = "1.5.7.bcr.1")
4242

4343
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)
@@ -238,7 +238,7 @@ use_repo(
238238
swift = use_extension("@rules_swift//swift:extensions.bzl", "swift")
239239
swift.toolchain(
240240
name = "swift_toolchain",
241-
swift_version = "6.3.2",
241+
swift_version = "6.3.3",
242242
)
243243
use_repo(
244244
swift,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.3.2
1+
6.3.3

unified/swift-syntax-rs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ The build does not depend on any particular version manager. You need:
129129
- **Rust** — pinned to `1.88` by the repo-root [`rust-toolchain.toml`](../../rust-toolchain.toml),
130130
which `rustup` picks up automatically.
131131
- **Swift** — pinned to the version in [`.swift-version`](.swift-version)
132-
(currently `6.3.2`), used to build `swift-syntax` `603.0.2`. Install it any way
132+
(currently `6.3.3`), used to build `swift-syntax` `603.0.2`. Install it any way
133133
you like — [swift.org](https://www.swift.org/install/) or
134134
[swiftly](https://www.swift.org/swiftly/) (which reads `.swift-version`), or a
135135
system package. Just make sure `swift` (and `swiftc`) are on your `PATH`

0 commit comments

Comments
 (0)