[codex] Upgrade rules_rs and llvm to latest BCR versions#18397
Merged
Conversation
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
bolinfest
approved these changes
Apr 17, 2026
bolinfest
left a comment
Collaborator
There was a problem hiding this comment.
If CI is green, then this is good to go!
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Why
This branch brings the Bazel module pins for
rules_rsandllvmup to the latest BCR releases and aligns the root direct dependencies with the versions the module graph already resolves to.That gives us a few concrete wins:
rules_rs/rules_ruststack, including work around repo-rule nondeterminism and default Cargo binary target generationrules_ruststack (hermeticbuild/rules_rust#13)gio-sys,glib-sys,gobject-sys,libgit2-sys, andlibssh2-sys, which gives us a future path to reduce custom build-script handlingbazel-lock-checkby making the root pins match the resolved graphWhat Changed
rules_rsfrom0.0.43to0.0.58llvmfrom0.6.8to0.7.1bazel_skylibfrom1.8.2to1.9.0so the root direct dep matches the resolved graphMODULE.bazel.lockfor the updated module graphpatches/rules_rs_windows_gnullvm_exec.patchpatches/rules_rs_windows_exec_linker.patchpatches/rules_rust_windows_exec_std.patchpatches/rules_rust_windows_msvc_direct_link_args.patchpatches/rules_rs_delete_git_worktree_pointer.patchpatches/rules_rust_repository_set_exec_constraints.patchValidation
just bazel-lock-updatejust bazel-lock-check