bazelbuild / bazelbuild/rules_rust

Support `cargo:rustc-link-arg-*` instructions in build script runner

Open
#1,062 1 comment 0 reactions 0 assignees View on GitHub
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

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.