summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/lto-no-link-whole-rlib/Makefile
blob: 25afad92adb09d1d79c85b2cad16a7ba9a1189c6 (plain)
1
2
3
4
5
6
7
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)