From ab3c2a935b1ba655de2f3fec35da2c14b69966dc Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 16 Sep 2017 08:37:31 -0700 Subject: Update gcc crate to 0.3.54 Import subrepo gcc/:gcc at dc329205d54b53a45ab66368aed265b68fe7f261 --- gcc/tests/support/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/tests/support/mod.rs') 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::>(); path.insert(0, self.td.path().to_owned()); let target = if self.msvc { -- cgit v1.2.3