Skip to content

chore(deps): update dependency rules_rust to v0.73.0 - #787

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/rules_rust-0.x
Closed

chore(deps): update dependency rules_rust to v0.73.0#787
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/rules_rust-0.x

Conversation

@renovate

@renovate renovate Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
rules_rust bazel_dep minor 0.70.00.73.0

Release Notes

bazelbuild/rules_rust (rules_rust)

v0.73.0

Compare Source

0.73.0

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

Bzlmod

bazel_dep(name = "rules_rust", version = "0.73.0")

Extensions

Details
Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.73.0")
MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.73.0")
Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.73.0")
PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.73.0")
Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.73.0")

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_rust@0.72.0...0.73.0

v0.72.0

Compare Source

0.72.0

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

Bzlmod

bazel_dep(name = "rules_rust", version = "0.72.0")

WORKSPACE

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-A1ZcC1Yw8IZa/HCUY6J5GucUvpzi3CD56sOcnPBvk3k=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.72.0/rules_rust-0.72.0.tar.gz"],
)

Extensions

Bindgen
Details
bazel_dep(name = "rules_rust_bindgen", version = "0.72.0")
MdBook
Details
bazel_dep(name = "rules_rust_mdbook", version = "0.72.0")
Prost
Details
bazel_dep(name = "rules_rust_prost", version = "0.72.0")
PyO3
Details
bazel_dep(name = "rules_rust_pyo3", version = "0.72.0")
Wasm-Bindgen
Details
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.72.0")

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_rust@0.71.3...0.72.0

v0.71.3

Compare Source

0.71.3

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

Bzlmod

bazel_dep(name = "rules_rust", version = "0.71.3")

WORKSPACE

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-h8txtdi9xcNfgjdTBYX+R9CEsxKDucJx+OPvezmkTQM=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.3/rules_rust-0.71.3.tar.gz"],
)

Extensions

Details
Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.71.3")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_bindgen",
    integrity = "sha256-h8txtdi9xcNfgjdTBYX+R9CEsxKDucJx+OPvezmkTQM=",
    strip_prefix = "extensions/bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.3/rules_rust-0.71.3.tar.gz"],
)
MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.71.3")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_mdbook",
    integrity = "sha256-h8txtdi9xcNfgjdTBYX+R9CEsxKDucJx+OPvezmkTQM=",
    strip_prefix = "extensions/mdbook",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.3/rules_rust-0.71.3.tar.gz"],
)
Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.71.3")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_prost",
    integrity = "sha256-h8txtdi9xcNfgjdTBYX+R9CEsxKDucJx+OPvezmkTQM=",
    strip_prefix = "extensions/prost",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.3/rules_rust-0.71.3.tar.gz"],
)
PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.71.3")
Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.71.3")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_wasm_bindgen",
    integrity = "sha256-h8txtdi9xcNfgjdTBYX+R9CEsxKDucJx+OPvezmkTQM=",
    strip_prefix = "extensions/wasm_bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.3/rules_rust-0.71.3.tar.gz"],
)

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_rust@0.71.2...0.71.3

v0.71.2

Compare Source

0.71.2

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

Bzlmod

bazel_dep(name = "rules_rust", version = "0.71.2")

WORKSPACE

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-BxpuWCzy8nl4ICZvMmXbsnJ7RHSGNm2ezBd9oVI7Ea0=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.2/rules_rust-0.71.2.tar.gz"],
)

Extensions

Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.71.2")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_bindgen",
    integrity = "sha256-BxpuWCzy8nl4ICZvMmXbsnJ7RHSGNm2ezBd9oVI7Ea0=",
    strip_prefix = "extensions/bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.2/rules_rust-0.71.2.tar.gz"],
)
MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.71.2")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_mdbook",
    integrity = "sha256-BxpuWCzy8nl4ICZvMmXbsnJ7RHSGNm2ezBd9oVI7Ea0=",
    strip_prefix = "extensions/mdbook",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.2/rules_rust-0.71.2.tar.gz"],
)
Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.71.2")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_prost",
    integrity = "sha256-BxpuWCzy8nl4ICZvMmXbsnJ7RHSGNm2ezBd9oVI7Ea0=",
    strip_prefix = "extensions/prost",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.2/rules_rust-0.71.2.tar.gz"],
)
PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.71.2")
Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.71.2")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_wasm_bindgen",
    integrity = "sha256-BxpuWCzy8nl4ICZvMmXbsnJ7RHSGNm2ezBd9oVI7Ea0=",
    strip_prefix = "extensions/wasm_bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.2/rules_rust-0.71.2.tar.gz"],
)

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_rust@0.71.1...0.71.2

v0.71.1

Compare Source

0.71.1

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

Bzlmod

bazel_dep(name = "rules_rust", version = "0.71.1")

WORKSPACE

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-V+O4kW/YOa3NYn1D+ixJB1PLgsyjTHmGvwZ2P/PX95k=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.1/rules_rust-0.71.1.tar.gz"],
)

Extensions

Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.71.1")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_bindgen",
    integrity = "sha256-V+O4kW/YOa3NYn1D+ixJB1PLgsyjTHmGvwZ2P/PX95k=",
    strip_prefix = "extensions/bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.1/rules_rust-0.71.1.tar.gz"],
)
MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.71.1")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_mdbook",
    integrity = "sha256-V+O4kW/YOa3NYn1D+ixJB1PLgsyjTHmGvwZ2P/PX95k=",
    strip_prefix = "extensions/mdbook",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.1/rules_rust-0.71.1.tar.gz"],
)
Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.71.1")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_prost",
    integrity = "sha256-V+O4kW/YOa3NYn1D+ixJB1PLgsyjTHmGvwZ2P/PX95k=",
    strip_prefix = "extensions/prost",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.1/rules_rust-0.71.1.tar.gz"],
)
PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.71.1")
Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.71.1")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_wasm_bindgen",
    integrity = "sha256-V+O4kW/YOa3NYn1D+ixJB1PLgsyjTHmGvwZ2P/PX95k=",
    strip_prefix = "extensions/wasm_bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.1/rules_rust-0.71.1.tar.gz"],
)

What's Changed

Full Changelog: bazelbuild/rules_rust@0.71.0...0.71.1

v0.71.0

Compare Source

0.71.0

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

Bzlmod

bazel_dep(name = "rules_rust", version = "0.71.0")

WORKSPACE

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-g0at73TIXo7jtOlEoIjrCrtw4HceXkwTQvu5StCNWdI=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.0/rules_rust-0.71.0.tar.gz"],
)

Extensions

Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.71.0")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_bindgen",
    integrity = "sha256-g0at73TIXo7jtOlEoIjrCrtw4HceXkwTQvu5StCNWdI=",
    strip_prefix = "extensions/bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.0/rules_rust-0.71.0.tar.gz"],
)
MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.71.0")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_mdbook",
    integrity = "sha256-g0at73TIXo7jtOlEoIjrCrtw4HceXkwTQvu5StCNWdI=",
    strip_prefix = "extensions/mdbook",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.0/rules_rust-0.71.0.tar.gz"],
)
Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.71.0")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_prost",
    integrity = "sha256-g0at73TIXo7jtOlEoIjrCrtw4HceXkwTQvu5StCNWdI=",
    strip_prefix = "extensions/prost",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.0/rules_rust-0.71.0.tar.gz"],
)
PyO3
bazel_dep(name = "rules_rust_pyo3", version = "0.71.0")
Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.71.0")
WORKSPACE
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust_wasm_bindgen",
    integrity = "sha256-g0at73TIXo7jtOlEoIjrCrtw4HceXkwTQvu5StCNWdI=",
    strip_prefix = "extensions/wasm_bindgen",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.0/rules_rust-0.71.0.tar.gz"],
)

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_rust@0.70.0...0.71.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency rules_rust to v0.71.0 chore(deps): update dependency rules_rust to v0.71.1 Jun 26, 2026
@renovate
renovate Bot force-pushed the renovate/rules_rust-0.x branch from a78b16e to 835c6fb Compare June 26, 2026 16:43
@renovate renovate Bot changed the title chore(deps): update dependency rules_rust to v0.71.1 chore(deps): update dependency rules_rust to v0.71.2 Jun 28, 2026
@renovate
renovate Bot force-pushed the renovate/rules_rust-0.x branch 4 times, most recently from aaba81e to 65ba8d8 Compare June 30, 2026 13:06
@renovate renovate Bot changed the title chore(deps): update dependency rules_rust to v0.71.2 chore(deps): update dependency rules_rust to v0.71.3 Jul 2, 2026
@renovate
renovate Bot force-pushed the renovate/rules_rust-0.x branch 7 times, most recently from 4cbe8d8 to 3b0276f Compare July 7, 2026 11:58
@renovate
renovate Bot force-pushed the renovate/rules_rust-0.x branch 5 times, most recently from 0b30fec to 49ecf40 Compare July 14, 2026 21:42
@renovate renovate Bot changed the title chore(deps): update dependency rules_rust to v0.71.3 chore(deps): update dependency rules_rust to v0.72.0 Jul 27, 2026
@renovate
renovate Bot force-pushed the renovate/rules_rust-0.x branch from 49ecf40 to b5dc095 Compare July 27, 2026 21:33
@renovate renovate Bot changed the title chore(deps): update dependency rules_rust to v0.72.0 chore(deps): update dependency rules_rust to v0.73.0 Jul 31, 2026
@renovate
renovate Bot force-pushed the renovate/rules_rust-0.x branch 2 times, most recently from 01860d2 to 8c031b2 Compare August 3, 2026 19:19
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
renovate Bot force-pushed the renovate/rules_rust-0.x branch from 8c031b2 to 118f481 Compare August 4, 2026 06:33
@helly25 helly25 closed this in #812 Aug 4, 2026
@renovate
renovate Bot deleted the renovate/rules_rust-0.x branch August 4, 2026 07:49
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants