Skip to main content

system_dirs

Function system_dirs 

Source
pub fn system_dirs(target: Triple, sysroot: Option<&Path>) -> Vec<PathBuf>
Expand description

The directories the library’s headers are actually in, in search order.

This is the one function here that talks to the machine: it reads the environment, asks xcrun where the SDK is when it has to, and keeps the candidates that exist.