Skip to content

Commit 9638dd7

Browse files
Migrate run-make/issue-15460 to rmake.rs
1 parent 33c4a6f commit 9638dd7

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ run-make/incr-foreign-head-span/Makefile
3131
run-make/interdependent-c-libraries/Makefile
3232
run-make/issue-107094/Makefile
3333
run-make/issue-14698/Makefile
34-
run-make/issue-15460/Makefile
3534
run-make/issue-33329/Makefile
3635
run-make/issue-35164/Makefile
3736
run-make/issue-36710/Makefile

tests/run-make/issue-15460/Makefile

-7
This file was deleted.

tests/run-make/issue-15460/rmake.rs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
//@ ignore-cross-compile
2+
3+
use run_make_support::{build_native_static_lib, run, rustc};
4+
5+
fn main() {
6+
build_native_static_lib("foo");
7+
8+
rustc().input("foo.rs").extra_filename("-383hf8").arg("-Cprefer-dynamic").run();
9+
rustc().input("bar.rs").run();
10+
11+
run("bar");
12+
}

0 commit comments

Comments
 (0)