chore: upgrade rules_rs to 0.0.64 - #915
Merged
Merged
Conversation
|
jbedard
force-pushed
the
rules_rs-0053
branch
9 times, most recently
from
April 7, 2026 07:17
b188c00 to
94791fd
Compare
jbedard
force-pushed
the
rules_rs-0053
branch
2 times, most recently
from
April 28, 2026 17:22
7c1dadd to
27dbd76
Compare
jbedard
commented
Apr 28, 2026
jbedard
marked this pull request as ready for review
April 28, 2026 17:33
dzbarsky
approved these changes
Apr 28, 2026
jbedard
disabled auto-merge
April 28, 2026 17:46
jbedard
enabled auto-merge (squash)
April 28, 2026 17:49
rules_rs 0.0.64 bundles its own rules_rust (a fork of 0.69.0) rather than depending on BCR rules_rust. Switch to its toolchains extension to register the bundled Rust toolchains. The bundled rules_rust adds @llvm//constraints/libc:gnu.2.28 to target_compatible_with for all Linux GNU Rust toolchains. The CI Linux host platform (auto-detected) lacks this constraint, so set --platforms and --host_platform to a custom //bazel/platforms:linux_gnu platform (which inherits host cpu/os and adds gnu.2.28) via common:linux in both .bazelrc and e2e/.bazelrc. The bundled rules_rust on macOS expects @macos_sdk to be visible from the root module, so use_repo it from the @llvm osx extension.
xangcastle
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Changes are visible to end-users: no
Test plan