Function rustc_session::filesearch::get_or_default_sysroot
source · pub fn get_or_default_sysroot() -> PathBuf
Expand description
This function checks if sysroot is found using env::args().next(), and if it is not found, uses env::current_exe() to imply sysroot.