diff --git a/examples/toolchains/rust/WORKSPACE b/examples/toolchains/rust/WORKSPACE index fa6e6696..74eae9d0 100644 --- a/examples/toolchains/rust/WORKSPACE +++ b/examples/toolchains/rust/WORKSPACE @@ -9,9 +9,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # https://bazelbuild.github.io/rules_rust/#setup http_archive( name = "rules_rust", - sha256 = "d21c328b21f3c9ecfa4c1e92dd61ace63ff22603234067cf0fe495f75ac251ae", + sha256 = "091ac4b0a67bc252c2c84d84bbb941ab79abc1e71fbd3224da4afdfba73754f0", urls = [ - "https://github.com/bazelbuild/rules_rust/releases/download/0.35.0/rules_rust-v0.35.0.tar.gz", + "https://github.com/bazelbuild/rules_rust/releases/download/0.52.1/rules_rust-v0.52.1.tar.gz", ], ) diff --git a/testing/rust/MODULE.bazel b/testing/rust/MODULE.bazel index a0d71441..171458bf 100644 --- a/testing/rust/MODULE.bazel +++ b/testing/rust/MODULE.bazel @@ -26,7 +26,7 @@ local_path_override( bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "rules_cc", version = "0.0.9") -bazel_dep(name = "rules_rust", version = "0.35.0") +bazel_dep(name = "rules_rust", version = "0.52.1") # TODO[AH] Remove these transitive dependencies once nixpkgs_java_configure has # become a module extension in rules_nixpkgs_java. diff --git a/testing/rust/WORKSPACE b/testing/rust/WORKSPACE index fedcd8ff..6367c52b 100644 --- a/testing/rust/WORKSPACE +++ b/testing/rust/WORKSPACE @@ -37,9 +37,9 @@ bazel_skylib_workspace() http_archive( name = "rules_rust", - sha256 = "d21c328b21f3c9ecfa4c1e92dd61ace63ff22603234067cf0fe495f75ac251ae", + sha256 = "091ac4b0a67bc252c2c84d84bbb941ab79abc1e71fbd3224da4afdfba73754f0", urls = [ - "https://github.com/bazelbuild/rules_rust/releases/download/0.35.0/rules_rust-v0.35.0.tar.gz" + "https://github.com/bazelbuild/rules_rust/releases/download/0.52.1/rules_rust-v0.52.1.tar.gz" ], )