diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-09-22 21:34:27 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-09-28 07:45:50 -0700 |
| commit | 7694ca419b3ade48e22982b69dec90eb45d8da73 (patch) | |
| tree | 6d6042991fef7c098f7b2ee773d5aacb66de2851 /src/librustc_llvm | |
| parent | 041d3550f6d963144722094edfccb3e4e3b74114 (diff) | |
| download | rust-7694ca419b3ade48e22982b69dec90eb45d8da73.tar.gz rust-7694ca419b3ade48e22982b69dec90eb45d8da73.zip | |
Update to the `cc` crate
This is the name the `gcc` crate has moved to
Diffstat (limited to 'src/librustc_llvm')
| -rw-r--r-- | src/librustc_llvm/Cargo.toml | 2 | ||||
| -rw-r--r-- | src/librustc_llvm/build.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_llvm/Cargo.toml b/src/librustc_llvm/Cargo.toml index 1ed2cbab65f..de5add56b76 100644 --- a/src/librustc_llvm/Cargo.toml +++ b/src/librustc_llvm/Cargo.toml @@ -18,4 +18,4 @@ rustc_cratesio_shim = { path = "../librustc_cratesio_shim" } [build-dependencies] build_helper = { path = "../build_helper" } -gcc = "0.3.50" +cc = "1.0" diff --git a/src/librustc_llvm/build.rs b/src/librustc_llvm/build.rs index 393aa7fa43b..dde7a38efc7 100644 --- a/src/librustc_llvm/build.rs +++ b/src/librustc_llvm/build.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -extern crate gcc; +extern crate cc; extern crate build_helper; use std::process::Command; @@ -136,7 +136,7 @@ fn main() { let mut cmd = Command::new(&llvm_config); cmd.arg("--cxxflags"); let cxxflags = output(&mut cmd); - let mut cfg = gcc::Build::new(); + let mut cfg = cc::Build::new(); cfg.warnings(false); for flag in cxxflags.split_whitespace() { // Ignore flags like `-m64` when we're doing a cross build |
