Update to the `cc` dependency

This commit is contained in:
Alex Crichton 2017-09-22 21:30:12 -07:00
parent 67e0908d7f
commit 6cf8fe7932
2 changed files with 5 additions and 5 deletions

View File

@ -8,12 +8,12 @@ version = "0.1.0"
cast = { version = "0.2.2", features = ["x128"], optional = true }
rand = { version = "0.3.15", optional = true }
[build-dependencies.gcc]
[build-dependencies.cc]
optional = true
version = "0.3.53"
version = "1.0"
[features]
c = ["gcc"]
c = ["cc"]
compiler-builtins = []
default = ["compiler-builtins"]
mem = []

View File

@ -3957,7 +3957,7 @@ macro_rules! panic {
#[cfg(feature = "c")]
mod c {
extern crate gcc;
extern crate cc;
use std::collections::BTreeMap;
use std::env;
@ -4008,7 +4008,7 @@ mod c {
let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap();
let target_vendor = env::var("CARGO_CFG_TARGET_VENDOR").unwrap();
let cfg = &mut gcc::Build::new();
let cfg = &mut cc::Build::new();
cfg.warnings(false);