fork/rust

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

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

master
438 B12 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4all:
5	$(RUSTC) success.rs; [ $$? -eq 0 ]
6	$(RUSTC) --invalid-arg-foo; [ $$? -eq 1 ]
7	$(RUSTC) compile-error.rs; [ $$? -eq 1 ]
8	RUSTC_ICE=0 $(RUSTC) -Ztreat-err-as-bug compile-error.rs; [ $$? -eq 101 ]
9	$(RUSTDOC) -o $(TMPDIR)/exit-code success.rs; [ $$? -eq 0 ]
10	$(RUSTDOC) --invalid-arg-foo; [ $$? -eq 1 ]
11	$(RUSTDOC) compile-error.rs; [ $$? -eq 1 ]
12	$(RUSTDOC) lint-failure.rs; [ $$? -eq 1 ]