mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-17 04:27:08 +00:00
Fixed x86_64-pc-windows-gcc build for rust bindings (#384)
This commit is contained in:
parent
712ccb629d
commit
e266280d88
@ -17,7 +17,7 @@ fn main() {
|
|||||||
|
|
||||||
let mut cc = cc::Build::new();
|
let mut cc = cc::Build::new();
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(all(windows, target_env = "msvc"))]
|
||||||
{
|
{
|
||||||
cc.flag("-D_CRT_SECURE_NO_WARNINGS");
|
cc.flag("-D_CRT_SECURE_NO_WARNINGS");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user