Skip to content

Commit be7b587

Browse files
Migrate run-make/const_fn_mir to rmake.rs
1 parent 9bff230 commit be7b587

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ run-make/compiler-lookup-paths-2/Makefile
1818
run-make/compiler-lookup-paths/Makefile
1919
run-make/compiler-rt-works-on-mingw/Makefile
2020
run-make/compressed-debuginfo/Makefile
21-
run-make/const_fn_mir/Makefile
2221
run-make/crate-hash-rustc-version/Makefile
2322
run-make/crate-name-priority/Makefile
2423
run-make/cross-lang-lto-clang/Makefile

tests/run-make/const_fn_mir/Makefile

-6
This file was deleted.

tests/run-make/const_fn_mir/rmake.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// The `needs-unwind -Cpanic=abort` gives a different MIR output.
2+
3+
use run_make_support::{cwd, diff, rustc};
4+
5+
fn main() {
6+
rustc().input("main.rs").emit("mir").output("dump-actual.mir").run();
7+
diff().expected_file("dump.mir").actual_file("dump-actual.mir").run();
8+
}

0 commit comments

Comments
 (0)