Skip to content

Commit 2772d8a

Browse files
authored
Change rules_rs toolchain registration/Bump rules_rs (#1611)
# Description Change `rules_rs` toolchain registration to be compatible with newer versions. Update to latest `rules_rs` to avoid issues with downloading `zlib`. # API compatibility Does this change introduce a API compatibility risk? No
1 parent 12d8903 commit 2772d8a

2 files changed

Lines changed: 33 additions & 38 deletions

File tree

MODULE.bazel

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bazel_dep(name = "platforms", version = "1.1.0")
88
bazel_dep(name = "rules_swiftnav", version = "0.21.0")
99
git_override(
1010
module_name = "rules_swiftnav",
11-
tag = "v0.21.0",
11+
commit = "f0747095fe3434d1458a1a9673b84185de7b2dde", # v0.21.0
1212
remote = "https://github.com/swift-nav/rules_swiftnav.git",
1313
)
1414

@@ -17,7 +17,7 @@ bazel_dep(name = "aspect_rules_lint", version = "2.6.0", dev_dependency = True)
1717
# Force a Bazel 9 compatible rules_go. It is pulled in transitively (dev-only)
1818
# via aspect_rules_lint -> rules_buf; the version that chain selects (0.42.0)
1919
# uses CcInfo, which Bazel 9 removed. >=0.59.0 has the fix.
20-
bazel_dep(name = "rules_go", version = "0.61.1", dev_dependency = True)
20+
bazel_dep(name = "rules_go", version = "0.62.0", dev_dependency = True)
2121

2222
swift_cc_toolchain_ext = use_extension("@rules_swiftnav//cc:extensions.bzl", "swift_cc_toolchain_extension")
2323
use_repo(
@@ -38,8 +38,8 @@ register_toolchains(
3838
)
3939

4040
# Rust toolchain platforms 1.1.0 is declared above.
41-
bazel_dep(name = "rules_rs", version = "0.0.92")
42-
bazel_dep(name = "llvm", version = "0.8.3")
41+
bazel_dep(name = "rules_rs", version = "0.0.108")
42+
bazel_dep(name = "llvm", version = "0.8.18")
4343

4444
# Make @rules_rust available for the rules rules_rs does NOT wrap
4545
# (rust_clippy / rust_doc / rust_doc_test / rustfmt_test / rust_test_suite + aspects).
@@ -55,7 +55,7 @@ toolchains.toolchain(
5555
use_repo(toolchains, "default_rust_toolchains")
5656

5757
register_toolchains(
58-
"@default_rust_toolchains//:all",
58+
"@default_rust_toolchains//...",
5959
"@llvm//toolchain:all",
6060
)
6161

@@ -71,8 +71,8 @@ register_toolchains(
7171
crate = use_extension("@rules_rs//rs:extensions.bzl", "crate", dev_dependency = True)
7272
crate.from_cargo(
7373
name = "crates",
74-
cargo_toml = "//:Cargo.toml",
7574
cargo_lock = "//:Cargo.lock",
75+
cargo_toml = "//:Cargo.toml",
7676
platform_triples = [
7777
"x86_64-unknown-linux-gnu",
7878
"aarch64-unknown-linux-gnu",

0 commit comments

Comments
 (0)