cargo/tests
bors e931e4796b Auto merge of #9486 - Dirbaio:link-arg-bin, r=ehuss
Add `cargo:rustc-link-arg-bin` flag.

This PR implements a `cargo:rustc-link-arg-bin` command to specify per-binary link args from build scripts. This follows the suggestion from the tracking issue #9426.

Syntax is `cargo:rustc-link-arg-bin=BIN_NAME=ARG`

This was previously possible to do using the `#[link_args=".."]` attribute, but it was removed in rust-lang/rust#83820 in favor of the Cargo extra-link-args feature, which can currently not specify different link args for different bins in the same crate. This PR adds back the ability to do that.
2021-05-24 16:17:27 +00:00
..
build-std Fix build-std updating the index on every build. 2021-04-22 17:18:26 -07:00
testsuite Auto merge of #9486 - Dirbaio:link-arg-bin, r=ehuss 2021-05-24 16:17:27 +00:00
internal.rs Update clippy lint allow set. 2021-04-13 09:02:07 -07:00