Expand description
A module for searching for libraries
Structs§
Functions§
- current_
dll_ 🔒path - get_
or_ default_ sysroot - This function checks if sysroot is found using env::args().next(), and if it is not found, finds sysroot from current rustc_driver dll.
- make_
target_ bin_ path - Returns a path to the target’s
bin
folder within itsrustlib
path in the sysroot. This is where binaries are usually installed, e.g. the self-contained linkers, lld-wrappers, LLVM tools, etc. - make_
target_ lib_ path - materialize_
sysroot - Returns the provided sysroot or calls
get_or_default_sysroot
if it’s none. Panics ifget_or_default_sysroot
returns an error. - sysroot_
candidates