Function build::output::rustc_cdylib_link_arg
source · [−]pub fn rustc_cdylib_link_arg(flag: &str)
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.