pub fn rustc_linker() -> Option<PathBuf>
The path to the linker cargo has been configured to use for the current target, if any.
cargo
Corresponds to the RUSTC_LINKER environment variable set by Cargo when compiling build.rs.
RUSTC_LINKER
build.rs