fork/rust

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

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

master
1.1 KiB36 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4all:
5	rm -f $(TMPDIR)/foo-output
6	$(RUSTC) -C codegen-units=4 -o $(TMPDIR)/foo-output foo.rs
7	rm $(TMPDIR)/foo-output
8
9	rm -f $(TMPDIR)/asm-output
10	$(RUSTC) -C codegen-units=4 --emit=asm -o $(TMPDIR)/asm-output foo.rs
11	rm $(TMPDIR)/asm-output
12
13	rm -f $(TMPDIR)/bc-output
14	$(RUSTC) -C codegen-units=4 --emit=llvm-bc -o $(TMPDIR)/bc-output foo.rs
15	rm $(TMPDIR)/bc-output
16
17	rm -f $(TMPDIR)/ir-output
18	$(RUSTC) -C codegen-units=4 --emit=llvm-ir -o $(TMPDIR)/ir-output foo.rs
19	rm $(TMPDIR)/ir-output
20
21	rm -f $(TMPDIR)/link-output
22	$(RUSTC) -C codegen-units=4 --emit=link -o $(TMPDIR)/link-output foo.rs
23	rm $(TMPDIR)/link-output
24
25	rm -f $(TMPDIR)/obj-output
26	$(RUSTC) -C codegen-units=4 --emit=obj -o $(TMPDIR)/obj-output foo.rs
27	rm $(TMPDIR)/obj-output
28
29	rm -f $(TMPDIR)/dep-output
30	$(RUSTC) -C codegen-units=4 --emit=dep-info -o $(TMPDIR)/dep-output foo.rs
31	rm $(TMPDIR)/dep-output
32
33#	# (This case doesn't work yet, and may be fundamentally wrong-headed anyway.)
34#	rm -f $(TMPDIR)/multi-output
35#	$(RUSTC) -C codegen-units=4 --emit=asm,obj -o $(TMPDIR)/multi-output foo.rs
36#	rm $(TMPDIR)/multi-output