]> git.proxmox.com Git - rustc.git/blob - tests/run-make-fulldeps/lto-smoke/Makefile
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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