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>2015-04-20 13:20:19 +0000
committerbors <bors@rust-lang.org>2015-04-20 13:20:19 +0000
commitbe9a72b9c1499f0583f172700ce4b7c0f3c861d3 (patch)
treed449129dfa48981c3460624fdcbb270d401141f2 /src/libstd/sys/unix/stack_overflow.rs
parentfe113931729f3c6cce1e81a4af9e908f45386d98 (diff)
parent2a24e97c80d5004cd1b57cb96a0bde6fe43a848d (diff)
downloadrust-be9a72b9c1499f0583f172700ce4b7c0f3c861d3.tar.gz
rust-be9a72b9c1499f0583f172700ce4b7c0f3c861d3.zip
Auto merge of #22117 - fhahn:fail-on-errors, r=nikomatsakis
At the moment, when compilation is stopped at a stop point (like `-Z parse-only`), `rustc` does not return an nonzero exit code even if there are errors (expect fatal ones, that cause it to panic immediately). As an example, compiling `src/test/compile-fail/doc-before-semi.rs` with `-Z parse-only` raises an error, but exists with 0.

Note that I could not use `sess.abort_if_errors()` in the macro, because `sess` is passed by value and move at some point.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions