Closed aran closed 6 months ago
I guess the other way is to wait for protoc toolchain support to mature and modify rules_rust's rule to access its protoc from the toolchain rather than an explicit parameter.
The latter is correct, it should be similar to https://github.com/bazelbuild/rules_go/issues/3895
I'll file with rules_rust.
Should be solved elsewhere per above
rules_rust
hasrust_prost_toolchain
: https://bazelbuild.github.io/rules_rust/flatten.html#rust_prost_toolchain which wants aproto_compiler
option. That can currently be@protobuf//:protoc
.It would be useful if I could drop in
@toolchains_protoc//:protoc
there.