bazelbuild / bazelbuild/rules_rust
Examples `proto_with_toolchain` and `proto` fail: toolchain target doesn't provide `ToolchainInfo`
Open
needs-triage
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
Bazel 8.1.1
Macos x86_64 (Sequoia 15.3.2)
The example `examples/proto_with_toolchain` fails:
```
➜ proto_with_toolchain git:(main) bazel build //...
ERROR: toolchain type @@rules_rust_prost+//:toolchain_type resolved to target //build/prost_toolchain:prost_toolchain_impl, but that target does not provide ToolchainInfo
```
same for `examples/proto`:
```
➜ proto git:(main) bazel build //...
ERROR: toolchain type @@rules_rust_prost+//:toolchain_type resolved to target //build/prost_toolchain:prost_toolchain_impl, but that target does not provide ToolchainInfo
```
Contributor guide
Assessment
This issue has not been assessed yet.