diff options
| author | bors <bors@rust-lang.org> | 2017-09-06 19:28:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-09-06 19:28:36 +0000 |
| commit | 3681220877771954fa923e50f227e632aabe8bbc (patch) | |
| tree | 421c90b04c2c7f1714121d3087b7bd631d3ad649 /src/libstd | |
| parent | a20953906056f85f71896795e762ac242e1891aa (diff) | |
| parent | 13cf2290371eba6d91670355e0b82fc3b15b920a (diff) | |
| download | rust-3681220877771954fa923e50f227e632aabe8bbc.tar.gz rust-3681220877771954fa923e50f227e632aabe8bbc.zip | |
Auto merge of #43975 - RalfJung:gcc, r=alexcrichton
use gcc::Build rather than deprecated gcc::Config I did `cargo update -p gcc` to upgrade only this package. Is there further process that should be follwoed when updating a build dependency from crates.io? r? @alexcrichton Fixes #43973
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs index f57dec98b79..7dec7eb77e1 100644 --- a/src/libstd/build.rs +++ b/src/libstd/build.rs @@ -77,7 +77,7 @@ fn main() { fn build_libbacktrace(host: &str, target: &str) -> Result<(), ()> { let native = native_lib_boilerplate("libbacktrace", "libbacktrace", "backtrace", ".libs")?; - let compiler = gcc::Config::new().get_compiler(); + let compiler = gcc::Build::new().get_compiler(); // only msvc returns None for ar so unwrap is okay let ar = build_helper::cc2ar(compiler.path(), target).unwrap(); let mut cflags = compiler.args().iter().map(|s| s.to_str().unwrap()) |
