fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
240 B9 linesraw
1-include ../tools.mk
2
3all:
4	# The tests must pass...
5	$(RUSTC) main.rs
6	$(call RUN,main)
7	# ... and the loads/stores must not be optimized out.
8	$(RUSTC) main.rs --emit=llvm-ir
9	$(CGREP) "load volatile" "store volatile" < $(TMPDIR)/main.ll