Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
Co-authored-by: rami3l <rami3l@outlook.com>
  • Loading branch information
ChrisDenton and rami3l committed Oct 5, 2023
1 parent 6196475 commit 1bc4661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn main() {
// Set linker options specific to Windows MSVC.
let target_os = env::var("CARGO_CFG_TARGET_OS");
let target_env = env::var("CARGO_CFG_TARGET_ENV");
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")) {
return;
}

Expand Down

0 comments on commit 1bc4661

Please sign in to comment.