about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-19 13:46:15 +0000
committerbors <bors@rust-lang.org>2018-07-19 13:46:15 +0000
commita8247dd5c69ca57ede5073209bd30afb90dd4e3b (patch)
tree9e4448039b750a3c9f4ab55d8ece746bca816890 /src/libstd/sys/unix/stack_overflow.rs
parent5ba21844f6c85a0cd55c8ea0250d5cd758134f84 (diff)
parent8f4ccac5e24ab9f0a786a87eb08d633c28d076ef (diff)
downloadrust-a8247dd5c69ca57ede5073209bd30afb90dd4e3b.tar.gz
rust-a8247dd5c69ca57ede5073209bd30afb90dd4e3b.zip
Auto merge of #52197 - euclio:exit-code, r=oli-obk
overhaul exit codes for rustc and rustdoc

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.

Note that while changes were made to the rustdoc binary, there is no
intended behavior change. rustdoc errors (i.e., failed lints) will still
report 101. While this could *also* hide potential ICEs, I will leave
that work to a future PR.

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