bazelbuild / bazelbuild/rules_rust

Examples `proto_with_toolchain` and `proto` fail: toolchain target doesn't provide `ToolchainInfo`

Open
#3,379 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.