]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/lto-smoke/Makefile
Auto merge of #100251 - compiler-errors:tuple-trait-2, r=jackh726
[rust.git] / src / test / run-make-fulldeps / lto-smoke / Makefile
1 include ../tools.mk
2
3 all: noparam bool_true bool_false thin fat
4
5 noparam:
6         $(RUSTC) lib.rs
7         $(RUSTC) main.rs -C lto
8         $(call RUN,main)
9
10 bool_true:
11         $(RUSTC) lib.rs
12         $(RUSTC) main.rs -C lto=yes
13         $(call RUN,main)
14
15
16 bool_false:
17         $(RUSTC) lib.rs
18         $(RUSTC) main.rs -C lto=off
19         $(call RUN,main)
20
21 thin:
22         $(RUSTC) lib.rs
23         $(RUSTC) main.rs -C lto=thin
24         $(call RUN,main)
25
26 fat:
27         $(RUSTC) lib.rs
28         $(RUSTC) main.rs -C lto=fat
29         $(call RUN,main)
30