fork/rust

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

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

master
298 B13 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4all:
5	$(RUSTC) lib.rs
6
7	# the compiler needs to copy and modify the rlib file when performing
8	# LTO, so we should ensure that it can cope with the original rlib
9	# being read-only.
10	chmod 444 $(TMPDIR)/*.rlib
11
12	$(RUSTC) main.rs -C lto
13	$(call RUN,main)