fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# ignore-cross-compile 2include ../tools.mk 3 4all: 5 # The tests must pass... 6 $(RUSTC) main.rs 7 $(call RUN,main) 8 # ... and the loads/stores must not be optimized out. 9 $(RUSTC) main.rs --emit=llvm-ir 10 $(CGREP) "load volatile" "store volatile" < $(TMPDIR)/main.ll