Update run-make
tests to no longer use aux_build
This commit is contained in:
parent
b591eb022d
commit
f31bd747a9
2 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@
|
|||
// Check that the `CURRENT_RUSTC_VERSION` placeholder is correctly replaced by the current
|
||||
// `rustc` version and the `since` property in feature stability gating is properly respected.
|
||||
|
||||
use run_make_support::{aux_build, rfs, rustc, source_root};
|
||||
use run_make_support::{rfs, rustc, source_root};
|
||||
|
||||
fn main() {
|
||||
aux_build().input("stable.rs").emit("metadata").run();
|
||||
rustc().crate_type("lib").input("stable.rs").emit("metadata").run();
|
||||
|
||||
let output =
|
||||
rustc().input("main.rs").emit("metadata").extern_("stable", "libstable.rmeta").run();
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::path::Path;
|
|||
|
||||
#[cfg(unix)]
|
||||
use run_make_support::libc;
|
||||
use run_make_support::{aux_build, rfs};
|
||||
use run_make_support::{rfs, rustc};
|
||||
|
||||
fn main() {
|
||||
#[cfg(unix)]
|
||||
|
@ -12,7 +12,7 @@ fn main() {
|
|||
libc::umask(0o002);
|
||||
}
|
||||
|
||||
aux_build().arg("foo.rs").run();
|
||||
rustc().crate_type("lib").arg("foo.rs").run();
|
||||
verify(Path::new("libfoo.rlib"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue