8eb5843a59
Implement rust-lang/compiler-team#578. When an ICE is encountered on nightly releases, the new rustc panic handler will also write the contents of the backtrace to disk. If any `delay_span_bug`s are encountered, their backtrace is also added to the file. The platform and rustc version will also be collected.
13 lines
438 B
Makefile
13 lines
438 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) success.rs; [ $$? -eq 0 ]
|
|
$(RUSTC) --invalid-arg-foo; [ $$? -eq 1 ]
|
|
$(RUSTC) compile-error.rs; [ $$? -eq 1 ]
|
|
RUSTC_ICE=0 $(RUSTC) -Ztreat-err-as-bug compile-error.rs; [ $$? -eq 101 ]
|
|
$(RUSTDOC) -o $(TMPDIR)/exit-code success.rs; [ $$? -eq 0 ]
|
|
$(RUSTDOC) --invalid-arg-foo; [ $$? -eq 1 ]
|
|
$(RUSTDOC) compile-error.rs; [ $$? -eq 1 ]
|
|
$(RUSTDOC) lint-failure.rs; [ $$? -eq 1 ]
|