fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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