Skip to content

Commit e8b04cc

Browse files
Migrate run-make/multiple-emits to rmake.rs
1 parent f8e25a6 commit e8b04cc

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ run-make/mismatching-target-triples/Makefile
145145
run-make/missing-crate-dependency/Makefile
146146
run-make/mixing-libs/Makefile
147147
run-make/msvc-opt-minsize/Makefile
148-
run-make/multiple-emits/Makefile
149148
run-make/native-link-modifier-bundle/Makefile
150149
run-make/native-link-modifier-verbatim-linker/Makefile
151150
run-make/native-link-modifier-verbatim-rustc/Makefile

tests/run-make/multiple-emits/Makefile

-7
This file was deleted.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
use run_make_support::{cwd, path, rustc};
2+
3+
fn main() {
4+
rustc().input("foo.rs").emit("asm,llvm-ir").output("out").run();
5+
6+
assert!(path("out.ll").is_file());
7+
assert!(path("out.s").is_file());
8+
9+
rustc().input("foo.rs").emit("asm,llvm-ir").output("out2.ext").run();
10+
11+
assert!(path("out2.ll").is_file());
12+
assert!(path("out2.s").is_file());
13+
}

0 commit comments

Comments
 (0)