diff options
Diffstat (limited to 'tests/run-make-fulldeps/lto-no-link-whole-rlib/Makefile')
-rw-r--r-- | tests/run-make-fulldeps/lto-no-link-whole-rlib/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/lto-no-link-whole-rlib/Makefile b/tests/run-make-fulldeps/lto-no-link-whole-rlib/Makefile new file mode 100644 index 000000000..e576ee37c --- /dev/null +++ b/tests/run-make-fulldeps/lto-no-link-whole-rlib/Makefile @@ -0,0 +1,8 @@ +include ../tools.mk + +all: $(call NATIVE_STATICLIB,foo) $(call NATIVE_STATICLIB,bar) + $(RUSTC) lib1.rs + $(RUSTC) lib2.rs + $(RUSTC) main.rs -Clto + $(call RUN,main) + |