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 6196475 commit 1bc4661Copy full SHA for 1bc4661
build.rs
@@ -31,7 +31,7 @@ fn main() {
31
// Set linker options specific to Windows MSVC.
32
let target_os = env::var("CARGO_CFG_TARGET_OS");
33
let target_env = env::var("CARGO_CFG_TARGET_ENV");
34
- if target_os.as_deref() != Ok("windows") && target_env.as_deref() != Ok("msvc") {
+ if !(target_os.as_deref() == Ok("windows") && target_env.as_deref() == Ok("msvc")) {
35
return;
36
}
37
0 commit comments