bazelbuild / bazelbuild/rules_rust
Proto rules fail with `ambiguous-glob-reexports` on Rust 1.70.0
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
```
error: ambiguous glob re-exports
--> bazel-out/k8-fastbuild/bin/proto/helloworld/helloworld_proto.grpc.rust/lib.rs:5:9
|
5 | pub use common::*;
| ^^^^^^^^^ the name `file_descriptor_proto` in the value namespace is first re-exported here
...
9 | pub use helloworld::*;
| ------------- but the name `file_descriptor_proto` in the value namespace is also re-exported here
|
= note: `-D ambiguous-glob-reexports` implied by `-D warnings`
error: aborting due to previous error
```
The examples/integration tests have been disabled in https://github.com/bazelbuild/rules_rust/pull/1991 and if the rules are going to remain in `rules_rust` this issue should be resolved and the targets re-enabled.
Contributor guide
Assessment
This issue has not been assessed yet.