Skip to content

Commit 141ccd6

Browse files
acozzettecopybara-github
authored andcommitted
Upgrade rules_rust to 0.63.0 so that we can build with Bazel 9 prereleases
I tried building `//rust/...` with the most recent Bazel 9 prerelease and found that it succeeds once we upgrade rules_rust. This is not critically important, but it seems nice to be able to try out Bazel 9 in advance. Unfortunately we can't upgrade rules_rust in WORKSPACE without breaking workspace builds, but I think this is probably fine since that is already deprecated anyway. It's also broken on Bazel 8, so presumably we will drop support for Rust WORKSPACE builds entirely once we drop Bazel 7. PiperOrigin-RevId: 792307568
1 parent b82fe98 commit 141ccd6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ bazel_dep(name = "rules_python", version = "1.4.1")
5454
# rules_proto is needed for @com_google_protobuf_v25 used in //compatibility/... tests
5555
bazel_dep(name = "rules_proto", version = "7.1.0")
5656

57-
bazel_dep(name = "rules_rust", version = "0.56.0", dev_dependency = True)
57+
bazel_dep(name = "rules_rust", version = "0.63.0", dev_dependency = True)
5858
bazel_dep(name = "rules_ruby", version = "0.17.3", dev_dependency = True)
5959

6060
# Workaround for https://github.com/bazelbuild/bazel-central-registry/issues/4230

WORKSPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ load("@fuzzing_py_deps//:requirements.bzl", fuzzing_py_deps_install_deps = "inst
249249

250250
fuzzing_py_deps_install_deps()
251251

252+
# This version of rules_rust is older than the one in MODULE.bazel, but we
253+
# cannot upgrade any further without breaking the WORKSPACE-based build.
252254
http_archive(
253255
name = "rules_rust",
254256
integrity = "sha256-8TBqrAsli3kN8BrZq8arsN8LZUFsdLTvJ/Sqsph4CmQ=",

0 commit comments

Comments
 (0)