Migrate run-make/issue-15460
to rmake.rs
This commit is contained in:
parent
84eee6890d
commit
5257ca7f4f
@ -27,7 +27,6 @@ run-make/foreign-rust-exceptions/Makefile
|
||||
run-make/incr-add-rust-src-component/Makefile
|
||||
run-make/incr-foreign-head-span/Makefile
|
||||
run-make/interdependent-c-libraries/Makefile
|
||||
run-make/issue-15460/Makefile
|
||||
run-make/issue-35164/Makefile
|
||||
run-make/issue-36710/Makefile
|
||||
run-make/issue-47551/Makefile
|
||||
|
@ -1,7 +0,0 @@
|
||||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
all: $(call NATIVE_STATICLIB,foo)
|
||||
$(RUSTC) foo.rs -C extra-filename=-383hf8 -C prefer-dynamic
|
||||
$(RUSTC) bar.rs
|
||||
$(call RUN,bar)
|
12
tests/run-make/issue-15460/rmake.rs
Normal file
12
tests/run-make/issue-15460/rmake.rs
Normal file
@ -0,0 +1,12 @@
|
||||
//@ ignore-cross-compile
|
||||
|
||||
use run_make_support::{build_native_static_lib, run, rustc};
|
||||
|
||||
fn main() {
|
||||
build_native_static_lib("foo");
|
||||
|
||||
rustc().input("foo.rs").extra_filename("-383hf8").arg("-Cprefer-dynamic").run();
|
||||
rustc().input("bar.rs").run();
|
||||
|
||||
run("bar");
|
||||
}
|
Loading…
Reference in New Issue
Block a user