diff options
| author | bors <bors@rust-lang.org> | 2018-07-19 13:46:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-19 13:46:15 +0000 |
| commit | a8247dd5c69ca57ede5073209bd30afb90dd4e3b (patch) | |
| tree | 9e4448039b750a3c9f4ab55d8ece746bca816890 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 5ba21844f6c85a0cd55c8ea0250d5cd758134f84 (diff) | |
| parent | 8f4ccac5e24ab9f0a786a87eb08d633c28d076ef (diff) | |
| download | rust-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
