Skip to content

Commit 855efd6

Browse files
committed
Fix bare-outfile test
1 parent 5e8e7ce commit 855efd6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/run-make/bare-outfile/rmake.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33

44
//@ ignore-cross-compile
55

6-
use run_make_support::{run, rustc, tmp_dir};
7-
use std::env;
8-
use std::fs;
6+
use run_make_support::{run, rustc};
97

108
fn main() {
11-
fs::copy("foo.rs", tmp_dir().join("foo.rs")).unwrap();
12-
env::set_current_dir(tmp_dir());
139
rustc().output("foo").input("foo.rs").run();
1410
run("foo");
1511
}

0 commit comments

Comments
 (0)