rustc_session::filesearch

Function make_target_bin_path

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

Returns a path to the target’s bin folder within its rustlib path in the sysroot. This is where binaries are usually installed, e.g. the self-contained linkers, lld-wrappers, LLVM tools, etc.