Function rustc_target::target_rustlib_path

source ยท
pub fn target_rustlib_path(sysroot: &Path, target_triple: &str) -> PathBuf
Expand description

Returns a rustlib path for this particular target, relative to the provided sysroot.

For example: target_sysroot_path("/usr", "x86_64-unknown-linux-gnu") => "lib*/rustlib/x86_64-unknown-linux-gnu".