Function rustc_session::filesearch::get_or_default_sysroot
source · pub fn get_or_default_sysroot() -> Result<PathBuf, String>
Expand description
This function checks if sysroot is found using env::args().next(), and if it is not found, finds sysroot from current rustc_driver dll.