We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0256ec commit 7ceec77Copy full SHA for 7ceec77
src/lib.rs
@@ -850,7 +850,8 @@ impl Library {
850
let target = env::var("TARGET");
851
let is_msvc = target
852
.as_ref()
853
- .map_or(false, |target| target.contains("msvc"));
+ .map(|target| target.contains("msvc"))
854
+ .unwrap_or(false);
855
856
let system_roots = if cfg!(target_os = "macos") {
857
vec![PathBuf::from("/Library"), PathBuf::from("/System")]
0 commit comments