Fix bare-outfile
test
This commit is contained in:
parent
3f20c721ce
commit
7ebcc37d65
@ -3,13 +3,9 @@
|
|||||||
|
|
||||||
//@ ignore-cross-compile
|
//@ ignore-cross-compile
|
||||||
|
|
||||||
use run_make_support::{run, rustc, tmp_dir};
|
use run_make_support::{run, rustc};
|
||||||
use std::env;
|
|
||||||
use std::fs;
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
fs::copy("foo.rs", tmp_dir().join("foo.rs")).unwrap();
|
|
||||||
env::set_current_dir(tmp_dir());
|
|
||||||
rustc().output("foo").input("foo.rs").run();
|
rustc().output("foo").input("foo.rs").run();
|
||||||
run("foo");
|
run("foo");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user