Auto merge of #126542 - GuillaumeGomez:migrate-run-make-duplicate-output-flavors, r=Kobzol

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

Part of https://github.com/rust-lang/rust/issues/121876.

r? `@jieyouxu`
This commit is contained in:
bors 2024-06-16 12:34:44 +00:00
commit f6236f63d2
3 changed files with 6 additions and 6 deletions

View File

@ -29,7 +29,6 @@ run-make/dep-info-spaces/Makefile
run-make/dep-info/Makefile run-make/dep-info/Makefile
run-make/dump-ice-to-disk/Makefile run-make/dump-ice-to-disk/Makefile
run-make/dump-mono-stats/Makefile run-make/dump-mono-stats/Makefile
run-make/duplicate-output-flavors/Makefile
run-make/dylib-chain/Makefile run-make/dylib-chain/Makefile
run-make/emit-path-unhashed/Makefile run-make/emit-path-unhashed/Makefile
run-make/emit-shared-files/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();
}