We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c4c1c commit 02ea9e5Copy full SHA for 02ea9e5
Cargo.toml
@@ -10,7 +10,7 @@ rand = { version = "0.3.15", optional = true }
10
11
[build-dependencies.gcc]
12
optional = true
13
-version = "0.3.36"
+version = "0.3.53"
14
15
[features]
16
c = ["gcc"]
build.rs
@@ -4008,7 +4008,9 @@ mod c {
4008
let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap();
4009
let target_vendor = env::var("CARGO_CFG_TARGET_VENDOR").unwrap();
4010
4011
- let cfg = &mut gcc::Config::new();
+ let cfg = &mut gcc::Build::new();
4012
+
4013
+ cfg.warnings(false);
4014
4015
if target_env == "msvc" {
4016
// Don't pull in extra libraries on MSVC
0 commit comments