diff options
Diffstat (limited to 'tests/run-make/dylib-chain/Makefile')
-rw-r--r-- | tests/run-make/dylib-chain/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/run-make/dylib-chain/Makefile b/tests/run-make/dylib-chain/Makefile new file mode 100644 index 000000000..f1fea99c5 --- /dev/null +++ b/tests/run-make/dylib-chain/Makefile @@ -0,0 +1,13 @@ +# ignore-cross-compile +include ../tools.mk + +all: + $(RUSTC) m1.rs -C prefer-dynamic + $(RUSTC) m2.rs -C prefer-dynamic + $(RUSTC) m3.rs -C prefer-dynamic + $(RUSTC) m4.rs + $(call RUN,m4) + $(call REMOVE_DYLIBS,m1) + $(call REMOVE_DYLIBS,m2) + $(call REMOVE_DYLIBS,m3) + $(call FAIL,m4) |