Skip to content

Commit

Permalink
chore(deps): update dependency rules_rust to v0.52.2
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and satreix committed Oct 13, 2024
1 parent 43700af commit 1038e0a
Show file tree
Hide file tree
Showing 2 changed files with 2,335 additions and 2,029 deletions.
23 changes: 1 addition & 22 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -138,28 +138,7 @@ use_repo(ruby, "bundle", "ruby_toolchains")

register_toolchains("@ruby_toolchains//:all")

bazel_dep(name = "rules_rust", version = "0.47.1")
single_version_override(
module_name = "rules_rust",
patch_strip = 1,
patches = [
# rules_rust and modern protoc collide on protoc-gen-rust and create
# the following error message:
#
# --rust_out: helloworld/helloworld.proto: The Rust codegen is highly experimental.
# Future versions will break existing code. Use at your own risk. You can opt-in
# by passing 'experimental-codegen=enabled' to '--rust_out'.
#
# This error message is also metionned in https://github.com/protocolbuffers/protobuf/issues/13346.
#
# Instead we rename the rules_rust protoc proto and grpc plugin to
# denote rules_rust wants its own code ran, not the experiemental
# code from the protobuf repository.
#
# All this is reported upstream in https://github.com/bazelbuild/rules_rust/issues/2837.
"//third_party/rules_rust:0001-rust-proto-experimental.patch",
],
)
bazel_dep(name = "rules_rust", version = "0.52.2")

# Use a more modern version of protobuf to work around rules_rust using
# an old one and grpc-java needed a modern one. See:
Expand Down
Loading

0 comments on commit 1038e0a

Please sign in to comment.