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>2019-04-16 10:18:17 +0000
committerbors <bors@rust-lang.org>2019-04-16 10:18:17 +0000
commit3b27b4f592e0654602d8b81cc471204abc2d563e (patch)
tree179b0c538d1342787e492040a8f6e73be9992dee /src/libstd/sys/unix/stack_overflow.rs
parenta7cef0bf0810d04da3101fe079a0625d2756744a (diff)
parent28c4397b28277cbbfb8f41aa007b9cac0e6b826f (diff)
downloadrust-3b27b4f592e0654602d8b81cc471204abc2d563e.tar.gz
rust-3b27b4f592e0654602d8b81cc471204abc2d563e.zip
Auto merge of #59769 - RalfJung:compiletest-normalization, r=alexcrichton
compiletest normalization: preserve non-JSON lines such as ICEs

Currently, every non-JSON line from stderr gets normalized away when compiletest normalizes the output. In particular, ICEs get normalized to the empty output. That does not seem desirable, so this changes normalization to preserve non-JSON lines instead.

Also see https://github.com/laumann/compiletest-rs/issues/169: because of that bug, Miri currently *looks* green in the toolstate, but some tests ICE. That same bug is likely no longer present in latest compiletest because the error code gets checked separately, but it still seems like a good idea to also make sure that ICEs are considered stderr output:
This change found an accidental user-visible `error!` in CTFE validation (fixed), and a non-deterministic panic when there are two `main` symbols (not fixed, no idea where this comes from). Both got missed before because non-JSON output got ignored.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions