Fix bare-outfile
test
This commit is contained in:
parent
3f20c721ce
commit
7ebcc37d65
@ -3,13 +3,9 @@
|
||||
|
||||
//@ ignore-cross-compile
|
||||
|
||||
use run_make_support::{run, rustc, tmp_dir};
|
||||
use std::env;
|
||||
use std::fs;
|
||||
use run_make_support::{run, rustc};
|
||||
|
||||
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();
|
||||
run("foo");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user