Skip to content

Commit d69cc1c

Browse files
committed
tests: update for rfs rename
1 parent 1f1bf4c commit d69cc1c

File tree

80 files changed

+80
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+80
-82
lines changed

tests/run-make/CURRENT_RUSTC_VERSION/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
use std::path::PathBuf;
77

8-
use run_make_support::{aux_build, fs as rfs, rustc, source_root};
8+
use run_make_support::{aux_build, rfs, rustc, source_root};
99

1010
fn main() {
1111
aux_build().input("stable.rs").emit("metadata").run();

tests/run-make/c-link-to-rust-dylib/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
//@ ignore-cross-compile
55

6-
use run_make_support::{cc, cwd, dynamic_lib_extension, fs as rfs, is_msvc, run, run_fail, rustc};
6+
use run_make_support::{cc, cwd, dynamic_lib_extension, is_msvc, rfs, run, run_fail, rustc};
77

88
fn main() {
99
rustc().input("foo.rs").run();

tests/run-make/c-link-to-rust-staticlib/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
//@ ignore-cross-compile
55

6-
use run_make_support::fs::remove_file;
6+
use run_make_support::rfs::remove_file;
77
use run_make_support::{cc, extra_c_flags, run, rustc, static_lib_name};
88
use std::fs;
99

tests/run-make/cdylib/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//@ ignore-cross-compile
1212

13-
use run_make_support::{cc, cwd, dynamic_lib_name, fs as rfs, is_msvc, run, rustc};
13+
use run_make_support::{cc, cwd, dynamic_lib_name, is_msvc, rfs, run, rustc};
1414

1515
fn main() {
1616
rustc().input("bar.rs").run();

tests/run-make/comment-section/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
use std::path::PathBuf;
1111

12-
use run_make_support::fs as rfs;
1312
use run_make_support::llvm_readobj;
13+
use run_make_support::rfs;
1414
use run_make_support::rustc;
1515
use run_make_support::{cwd, env_var, run_in_tmpdir};
1616

tests/run-make/compiler-builtins/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
#![deny(warnings)]
1616

17-
use run_make_support::fs::{read, read_dir};
1817
use run_make_support::object::read::archive::ArchiveFile;
1918
use run_make_support::object::read::Object;
2019
use run_make_support::object::ObjectSection;
2120
use run_make_support::object::ObjectSymbol;
2221
use run_make_support::object::RelocationTarget;
22+
use run_make_support::rfs::{read, read_dir};
2323
use run_make_support::{cmd, env_var, object};
2424
use std::collections::HashSet;
2525
use std::path::PathBuf;

tests/run-make/compiler-lookup-paths/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//@ ignore-wasm64
1010
// Reason: a C compiler is required for build_native_static_lib
1111

12-
use run_make_support::{build_native_static_lib, fs as rfs, rustc, static_lib_name};
12+
use run_make_support::{build_native_static_lib, rfs, rustc, static_lib_name};
1313

1414
fn main() {
1515
build_native_static_lib("native");

tests/run-make/const-prop-lint/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Tests that const prop lints interrupting codegen don't leave `.o` files around.
22

3-
use run_make_support::{cwd, fs as rfs, rustc};
3+
use run_make_support::{cwd, rfs, rustc};
44

55
fn main() {
66
rustc().input("input.rs").run_fail().assert_exit_code(1);

tests/run-make/crate-name-priority/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// and the compiler flags, and checks that the flag is favoured each time.
55
// See https://github.com/rust-lang/rust/pull/15518
66

7-
use run_make_support::{bin_name, fs as rfs, rustc};
7+
use run_make_support::{bin_name, rfs, rustc};
88

99
fn main() {
1010
rustc().input("foo.rs").run();

tests/run-make/doctests-keep-binaries/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Check that valid binaries are persisted by running them, regardless of whether the
22
// --run or --no-run option is used.
33

4-
use run_make_support::fs::{create_dir, remove_dir_all};
4+
use run_make_support::rfs::{create_dir, remove_dir_all};
55
use run_make_support::{run, rustc, rustdoc};
66
use std::path::Path;
77

0 commit comments

Comments
 (0)