about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2018-07-09 14:01:10 -0400
committerAndy Russell <arussell123@gmail.com>2018-07-18 00:24:13 -0400
commit8f4ccac5e24ab9f0a786a87eb08d633c28d076ef (patch)
tree89cfe1ff1d4d0cc12f0babd436919d6d44f7650b /src/libstd/sys/unix/stack_overflow.rs
parent4f3c7a472b77ba3f3afbc12d004b9d1bbcee7fe7 (diff)
downloadrust-8f4ccac5e24ab9f0a786a87eb08d633c28d076ef.tar.gz
rust-8f4ccac5e24ab9f0a786a87eb08d633c28d076ef.zip
rustc: distinguish compilation failure from ICE
This commit changes the exit status of rustc to 1 in the presence of
compilation errors. In the event of an unexpected panic (ICE) the
standard panic error exit status of 101 remains.

A run-make test is added to ensure that the exit code does not regress,
and compiletest is updated to check for an exit status of 1 or 101,
depending on the mode and suite.

This is a breaking change for custom drivers.

Fixes #51971.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions