fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
454 B31 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4all: noparam bool_true bool_false thin fat
5
6noparam:
7	$(RUSTC) lib.rs
8	$(RUSTC) main.rs -C lto
9	$(call RUN,main)
10
11bool_true:
12	$(RUSTC) lib.rs
13	$(RUSTC) main.rs -C lto=yes
14	$(call RUN,main)
15
16
17bool_false:
18	$(RUSTC) lib.rs
19	$(RUSTC) main.rs -C lto=off
20	$(call RUN,main)
21
22thin:
23	$(RUSTC) lib.rs
24	$(RUSTC) main.rs -C lto=thin
25	$(call RUN,main)
26
27fat:
28	$(RUSTC) lib.rs
29	$(RUSTC) main.rs -C lto=fat
30	$(call RUN,main)
31