Support --incompatible_enable_proto_toolchain_resolution
- Dominant language
- Java
- Stars
- 12.1k
- Forks
- 4k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 37
Description
### Is your feature request related to a problem?
The problem is need to compile protoc instead of using prebuilt binary while building java_grpc_library
### Describe the solution you'd like
Support [--incompatible_enable_proto_toolchain_resolution](https://bazel.build/reference/command-line-reference?hl=en#flag--incompatible_enable_proto_toolchain_resolution) bazel flag so users can override protoc compiled from sources with prebuilt binary, as already done in [rules_python](https://github.com/bazelbuild/rules_python/pull/1577) or WIP in [rules_go](https://github.com/bazelbuild/rules_go/pull/3919)
### Describe alternatives you've considered
### Additional context
Examples of declarations toolchains for other languages that already support the feature [here](https://github.com/aspect-build/toolchains_protoc/blob/main/examples/lang_toolchains/BUILD)
Contributor guide
Assessment
This issue has not been assessed yet.