Skip to content

Commit 1bc4661

Browse files
ChrisDentonrami3l
andauthored
Update build.rs
Co-authored-by: rami3l <rami3l@outlook.com>
1 parent 6196475 commit 1bc4661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn main() {
3131
// Set linker options specific to Windows MSVC.
3232
let target_os = env::var("CARGO_CFG_TARGET_OS");
3333
let target_env = env::var("CARGO_CFG_TARGET_ENV");
34-
if target_os.as_deref() != Ok("windows") && target_env.as_deref() != Ok("msvc") {
34+
if !(target_os.as_deref() == Ok("windows") && target_env.as_deref() == Ok("msvc")) {
3535
return;
3636
}
3737

0 commit comments

Comments
 (0)