Browse Source

Merge pull request #411 from spl/tempdir-in

Create temp dir in same dir as gcc-shim
urgh
Alex Crichton 6 years ago
committed by GitHub
parent
commit
469c2b65a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tests/support/mod.rs

3
tests/support/mod.rs

@ -26,9 +26,10 @@ impl Test {
if gcc.ends_with("deps") {
gcc.pop();
}
let td = TempDir::new_in(&gcc, "gcc-test").unwrap();
gcc.push(format!("gcc-shim{}", env::consts::EXE_SUFFIX));
Test {
td: TempDir::new("gcc-test").unwrap(),
td: td,
gcc: gcc,
msvc: false,
}

Loading…
Cancel
Save