Function rustc_target::target_rustlib_path
source · pub fn target_rustlib_path(sysroot: &Path, target_triple: &str) -> PathBufExpand 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".