Module rustc_session::filesearch
source · Expand description
A module for searching for libraries
Structs§
Functions§
- This function checks if sysroot is found using env::args().next(), and if it is not found, finds sysroot from current rustc_driver dll.
- Returns the provided sysroot or calls
get_or_default_sysroot
if it’s none. Panics ifget_or_default_sysroot
returns an error.