bazelbuild / bazelbuild/rules_rust
Support `cargo:rustc-link-arg-*` instructions in build script runner
Open
enhancement
needs-triage
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
https://github.com/bazelbuild/rules_rust/pull/1061 is adding support for the `cargo:rustc-link-arg` instruction but `cargo:rust-link-arg-bins`, `cargo:rustc-link-arg-bin` and `cargo:rustc-cdylib-link-arg` are still not supported (they just print a warning).
Supporting them is a little more complex since it requires splitting some of the build script output into crate types. But that should be doable.
Contributor guide
Assessment
This issue has not been assessed yet.