chore(deps): update dependency rules_rust to v0.73.0 - #787
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
renovate
Bot
requested review from
dzbarsky,
fmeum,
helly25,
jsharpe and
rrbutani
as code owners
June 26, 2026 02:04
renovate
Bot
force-pushed
the
renovate/rules_rust-0.x
branch
from
June 26, 2026 16:43
a78b16e to
835c6fb
Compare
renovate
Bot
force-pushed
the
renovate/rules_rust-0.x
branch
4 times, most recently
from
June 30, 2026 13:06
aaba81e to
65ba8d8
Compare
renovate
Bot
force-pushed
the
renovate/rules_rust-0.x
branch
7 times, most recently
from
July 7, 2026 11:58
4cbe8d8 to
3b0276f
Compare
renovate
Bot
force-pushed
the
renovate/rules_rust-0.x
branch
5 times, most recently
from
July 14, 2026 21:42
0b30fec to
49ecf40
Compare
renovate
Bot
force-pushed
the
renovate/rules_rust-0.x
branch
from
July 27, 2026 21:33
49ecf40 to
b5dc095
Compare
renovate
Bot
force-pushed
the
renovate/rules_rust-0.x
branch
2 times, most recently
from
August 3, 2026 19:19
01860d2 to
8c031b2
Compare
helly25
added a commit
that referenced
this pull request
Aug 4, 2026
## Summary Collects all outstanding renovate dependency upgrades, which were previously blocked by the Bazel 9.2 / rules_go analysis error fixed in #810. Each commit is the corresponding renovate PR cherry-picked onto current master: | PR | Dependency | Version | |----|------------|---------| | #804 | rules_java (WORKSPACE) | 9.6.1 → 9.7.0 | | #805 | aspect_bazel_lib (WORKSPACE) | 3.5.0 → 3.7.1 | | #806 | bazel_skylib (MODULE + toolchain/deps.bzl) | 1.9.0 → 1.9.2 | | #776 | boringssl (MODULE + WORKSPACE) | 0.20260526.0 → 0.20260803.0 | | #787 | rules_rust (MODULE) | 0.70.0 → 0.73.0 | | #807 | io_bazel_rules_go (WORKSPACE) | 0.61.1 → 0.62.0 | | #808 | rules_go (MODULE) | 0.61.1 → 0.62.0 | Those PRs can be closed once this merges (renovate should detect the versions are present). ## Verification (local, macOS arm64, Bazel 9.2.0, bzlmod) - `@io_bazel_rules_go//tests/core/cgo:all`, `@rules_rust//test/unit/{interleaved_cc_info,native_deps}:all`, `@boringssl//...` and `//foreign:pcre` all analyze cleanly (106 targets) — confirming the #810 rules_go patch applies to 0.62.0 and the boringssl patch applies to 0.20260803.0. - The test targets excluded in `run_external_tests.sh` all still exist under rules_rust 0.73.0 / rules_go 0.62.0, so target-pattern expansion stays valid. Note: rules_go 0.62.0 has a known Bazel 9 issue with duplicate mingw constraints in its windows cgo platforms (bazel-contrib/rules_go#4665); it should not trigger here since nothing targets Windows, but flagging it in case CI says otherwise. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/rules_rust-0.x
branch
from
August 4, 2026 06:33
8c031b2 to
118f481
Compare
pull Bot
pushed a commit
to garymm/bazel-toolchain
that referenced
this pull request
Aug 4, 2026
…azel-contrib#812) ## Summary Re-applies the rules_rust 0.70.0 → 0.73.0 upgrade (bazel-contrib#787) that had to be reverted in bazel-contrib#811, by first removing the root cause: the unused rules_rust setup in `tests/WORKSPACE`. **Why the upgrade broke hybrid mode:** rules_rust ≥ 0.71 no longer ships `rust/repositories.bzl` (WORKSPACE support removed upstream). In the hybrid CI jobs (Bazel 7/8 with `--enable_bzlmod --enable_workspace`), the root module's `bazel_dep` repos shadow same-named WORKSPACE repos — so the `load("@rules_rust//rust:repositories.bzl", ...)` in `tests/WORKSPACE` resolved to the *bzlmod* rules_rust (not the WORKSPACE-pinned 0.67.0 http_archive) and failed with: ``` ERROR: Error computing the main repository mapping: cannot load '@@rules_rust+//rust:repositories.bzl': no such file ``` This killed every bazel invocation in those jobs, including ones that don't use rust at all (msan). Bazel 9 jobs were unaffected (WORKSPACE is gone there); pure-WORKSPACE jobs (bzlmod=false) were unaffected (no shadowing). **Why removing the WORKSPACE setup is safe:** the rules_rust tests in `run_external_tests.sh` only run with bzlmod enabled (Bazel 9+), and nothing else in the tests workspace uses rust. The WORKSPACE block was dead weight. A comment now documents why it must not be re-added. Closes bazel-contrib#787. ## Test plan - CI: the hybrid jobs (7.*/8.* with bzlmod=true) are the ones that failed before the revert in bazel-contrib#811; they exercise exactly this path. - Local (macOS arm64): bzlmod analysis of `@rules_rust//test/unit/{interleaved_cc_info,native_deps}:all` at 0.73.0 passed previously on the bazel-contrib#811 branch pre-revert; a Bazel 8 hybrid-mode analysis run is in flight and results will be posted here if anything turns up.
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.
This PR contains the following updates:
0.70.0→0.73.0Release Notes
bazelbuild/rules_rust (rules_rust)
v0.73.0Compare Source
0.73.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
Extensions
Details
Bindgen
Bzlmod
MdBook
Bzlmod
Prost
Bzlmod
PyO3
Wasm-Bindgen
Bzlmod
What's Changed
toolchainparameter totoolchain_typeinstead ofNoneby @FabianWolhttps://github.com/bazelbuild/rules_rust/pull/4185l/4185New Contributors
Full Changelog: bazelbuild/rules_rust@0.72.0...0.73.0
v0.72.0Compare Source
0.72.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
WORKSPACE
Extensions
Bindgen
Details
MdBook
Details
Prost
Details
PyO3
Details
Wasm-Bindgen
Details
What's Changed
${out_dir}token in dep env files by @basvandihttps://github.com/bazelbuild/rules_rust/pull/4124l/4124rust_flagsnear the end of the rustc invocation. by @slackihttps://github.com/bazelbuild/rules_rust/pull/4135l/4135root_pathattribute for directory crate roots by @krasimirhttps://github.com/bazelbuild/rules_rust/pull/4142l/4142cargo_build_script.use_cc_toolchainby @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4161l/4161RunfilesBuilderto runfiles by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4170l/4170bazel-*in vscode by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4169l/4169--instrumentation_filerfor Rust coverage by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4173l/4173New Contributors
Full Changelog: bazelbuild/rules_rust@0.71.3...0.72.0
v0.71.3Compare Source
0.71.3
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
WORKSPACE
Extensions
Details
Bindgen
Bzlmod
WORKSPACE
MdBook
Bzlmod
WORKSPACE
Prost
Bzlmod
WORKSPACE
PyO3
Wasm-Bindgen
Bzlmod
WORKSPACE
What's Changed
New Contributors
Full Changelog: bazelbuild/rules_rust@0.71.2...0.71.3
v0.71.2Compare Source
0.71.2
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
WORKSPACE
Extensions
Bindgen
Bzlmod
WORKSPACE
MdBook
Bzlmod
WORKSPACE
Prost
Bzlmod
WORKSPACE
PyO3
Wasm-Bindgen
Bzlmod
WORKSPACE
What's Changed
crate_universe/extension.bzlshim with a deprecation warning by @rdesgropphttps://github.com/bazelbuild/rules_rust/pull/4114l/4114New Contributors
Full Changelog: bazelbuild/rules_rust@0.71.1...0.71.2
v0.71.1Compare Source
0.71.1
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
WORKSPACE
Extensions
Bindgen
Bzlmod
WORKSPACE
MdBook
Bzlmod
WORKSPACE
Prost
Bzlmod
WORKSPACE
PyO3
Wasm-Bindgen
Bzlmod
WORKSPACE
What's Changed
link_depscrate_universe annotation by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4109l/4109Full Changelog: bazelbuild/rules_rust@0.71.0...0.71.1
v0.71.0Compare Source
0.71.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
WORKSPACE
Extensions
Bindgen
Bzlmod
WORKSPACE
MdBook
Bzlmod
WORKSPACE
Prost
Bzlmod
WORKSPACE
PyO3
Wasm-Bindgen
Bzlmod
WORKSPACE
What's Changed
compile_datatargets inrustc_envlocation expansion forrust_testby @tamasvahttps://github.com/bazelbuild/rules_rust/pull/4000l/4000crate_universeexamples to test dir by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/3981l/3981--remap-path-prefixflags. by @slackihttps://github.com/bazelbuild/rules_rust/pull/4008l/4008-isystemvariant flags in cargo build script path rewriting by @tamasvahttps://github.com/bazelbuild/rules_rust/pull/3996l/3996experimental_output_pathsby @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4011l/4011mdbooksources from different places by @mgeislhttps://github.com/bazelbuild/rules_rust/pull/4029l/4029OUT_DIRsanitization incargo_build_scriptby @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4050l/4050--incompatible_exclude_starlark_flags_from_exec_config. by @slackihttps://github.com/bazelbuild/rules_rust/pull/4056l/4056opt_levelinrustextension by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4061l/4061label_injectionto crate_universe annotations by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/3755l/3755<binary>.runfiles_manifestfrom argv[0] inRunfiles::create()by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4086l/4086discoverConfigSupport for rust-analyzer by @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4075l/4075defs.bzlintocrates.bzlby @UebelAndhttps://github.com/bazelbuild/rules_rust/pull/4094l/4094New Contributors
Full Changelog: bazelbuild/rules_rust@0.70.0...0.71.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.