bazelbuild / bazelbuild/rules_rust

path dependency to crate leads to BUILD.bazel being generated in those paths?

Open
#3,724 0 comments 0 reactions 0 assignees View on GitHub
crate-universe
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

We have a pure-rust pure-cargo repo with a bunch of crates in it, and in our mixed-Rust-C++ bazel-based repo, when co-iterating on this stuff, we set path-dependencies to these crates to work on them. This was a feature implemented by @illicitonion last year if I recall.

Nowadays, after having upgraded rules_rust to the latest etc, it seems that this process will now autogenerate `BUILD.bazel` files in the _source_ directories of these cargo crate directories? I would have expected these to go into the bazel-base somewhere, rather than putting bazel stuff into the crate sources referred-to...

Thanks!

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.