build

Macro rustc_cdylib_link_arg

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

The rustc_cdylib_link_arg instruction tells Cargo to pass the -C link-arg=FLAG option to the compiler, but only when building a cdylib library target. Its usage is highly platform specific. It is useful to set the shared library version or the runtime-path.

For more information, see this cargo reference.