pub fn materialize_sysroot(maybe_sysroot: Option<PathBuf>) -> PathBuf
Expand description

Returns the provided sysroot or calls get_or_default_sysroot if it’s none. Panics if get_or_default_sysroot returns an error.