Fixed x86_64-pc-windows-gcc build for rust bindings (#384)

This commit is contained in:
kaliubuntu0206 2023-12-14 20:29:06 +00:00 committed by GitHub
parent 712ccb629d
commit e266280d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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");