build

Macro rustc_link_arg_bin

source
macro_rules! rustc_link_arg_bin {
    ($($tokens:tt)*) => { ... };
}
Expand description

The rustc_link_arg_bin instruction tells Cargo to pass the -C link-arg=FLAG option to the compiler, but only when building the binary target with name BIN. Its usage is highly platform specific. It is useful to set a linker script or other linker options.

For more information, see this cargo reference.