aboutsummaryrefslogtreecommitdiff
path: root/gcc/tests/support
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-09-16 08:37:31 -0700
committerDaniel Mueller <deso@posteo.net>2017-09-16 08:37:31 -0700
commitab3c2a935b1ba655de2f3fec35da2c14b69966dc (patch)
treecb546a86fe9648b2afcd78776d7e035a05c04b76 /gcc/tests/support
parentea4ea0e5fced2780c569b2e420e56f47f62adca8 (diff)
downloadnitrocli-ab3c2a935b1ba655de2f3fec35da2c14b69966dc.tar.gz
nitrocli-ab3c2a935b1ba655de2f3fec35da2c14b69966dc.tar.bz2
Update gcc crate to 0.3.54
Import subrepo gcc/:gcc at dc329205d54b53a45ab66368aed265b68fe7f261
Diffstat (limited to 'gcc/tests/support')
-rw-r--r--gcc/tests/support/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tests/support/mod.rs b/gcc/tests/support/mod.rs
index 135a663..2f3e44c 100644
--- a/gcc/tests/support/mod.rs
+++ b/gcc/tests/support/mod.rs
@@ -36,7 +36,7 @@ impl Test {
pub fn gnu() -> Test {
let t = Test::new();
- t.shim("cc").shim("ar");
+ t.shim("cc").shim("c++").shim("ar");
t
}
@@ -55,8 +55,8 @@ impl Test {
self
}
- pub fn gcc(&self) -> gcc::Config {
- let mut cfg = gcc::Config::new();
+ pub fn gcc(&self) -> gcc::Build {
+ let mut cfg = gcc::Build::new();
let mut path = env::split_paths(&env::var_os("PATH").unwrap()).collect::<Vec<_>>();
path.insert(0, self.td.path().to_owned());
let target = if self.msvc {