Skip to content

Commit 6cf8fe7

Browse files
committed
Update to the cc dependency
1 parent 67e0908 commit 6cf8fe7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ version = "0.1.0"
88
cast = { version = "0.2.2", features = ["x128"], optional = true }
99
rand = { version = "0.3.15", optional = true }
1010

11-
[build-dependencies.gcc]
11+
[build-dependencies.cc]
1212
optional = true
13-
version = "0.3.53"
13+
version = "1.0"
1414

1515
[features]
16-
c = ["gcc"]
16+
c = ["cc"]
1717
compiler-builtins = []
1818
default = ["compiler-builtins"]
1919
mem = []

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3957,7 +3957,7 @@ macro_rules! panic {
39573957

39583958
#[cfg(feature = "c")]
39593959
mod c {
3960-
extern crate gcc;
3960+
extern crate cc;
39613961

39623962
use std::collections::BTreeMap;
39633963
use std::env;
@@ -4008,7 +4008,7 @@ mod c {
40084008
let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap();
40094009
let target_vendor = env::var("CARGO_CFG_TARGET_VENDOR").unwrap();
40104010

4011-
let cfg = &mut gcc::Build::new();
4011+
let cfg = &mut cc::Build::new();
40124012

40134013
cfg.warnings(false);
40144014

0 commit comments

Comments
 (0)