Skip to content

Commit 5257ca7

Browse files
Migrate run-make/issue-15460 to rmake.rs
1 parent 84eee68 commit 5257ca7

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
@@ -27,7 +27,6 @@ run-make/foreign-rust-exceptions/Makefile
2727
run-make/incr-add-rust-src-component/Makefile
2828
run-make/incr-foreign-head-span/Makefile
2929
run-make/interdependent-c-libraries/Makefile
30-
run-make/issue-15460/Makefile
3130
run-make/issue-35164/Makefile
3231
run-make/issue-36710/Makefile
3332
run-make/issue-47551/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)