Skip to content

Commit

Permalink
Fixed x86_64-pc-windows-gcc build for rust bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliubuntu0206 authored Dec 14, 2023
1 parent 712ccb6 commit 7bef96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() {

let mut cc = cc::Build::new();

#[cfg(windows)]
#[cfg(all(windows, target_env = "msvc"))]
{
cc.flag("-D_CRT_SECURE_NO_WARNINGS");

Expand Down

0 comments on commit 7bef96e

Please sign in to comment.