Migrate run-make/duplicate-output-flavors to rmake.rs

This commit is contained in:
Guillaume Gomez 2024-06-16 11:46:02 +02:00
parent 8217b412a2
commit ac751b3049
3 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,6 @@ run-make/dep-info-spaces/Makefile
run-make/dep-info/Makefile
run-make/dump-ice-to-disk/Makefile
run-make/dump-mono-stats/Makefile
run-make/duplicate-output-flavors/Makefile
run-make/dylib-chain/Makefile
run-make/emit-path-unhashed/Makefile
run-make/emit-shared-files/Makefile

View File

@ -1,5 +0,0 @@
include ../tools.mk
all:
$(RUSTC) --crate-type=rlib foo.rs
$(RUSTC) --crate-type=rlib,rlib foo.rs

View File

@ -0,0 +1,6 @@
use run_make_support::rustc;
fn main() {
rustc().input("foo.rs").crate_type("rlib").run();
rustc().input("foo.rs").crate_type("rlib,rlib").run();
}