about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2020-01-18 23:51:06 +0000
committerOliver Middleton <olliemail27@gmail.com>2020-01-18 23:51:06 +0000
commit17f4cbc3032f7e81f0ec0c7e3b4cd0c3da30c916 (patch)
treefdbfc695ae8bc24d457bf21f8a2a86e6f7c8bbbf /src/libstd/sys/unix/stack_overflow.rs
parent689fca01c5a1eac2d240bf08aa728171a28f2285 (diff)
downloadrust-17f4cbc3032f7e81f0ec0c7e3b4cd0c3da30c916.tar.gz
rust-17f4cbc3032f7e81f0ec0c7e3b4cd0c3da30c916.zip
rustdoc: Fix handling of compile errors when running `rustdoc --test`
 * Call `abort_if_errors` so all errors actually stop rustdoc.
* Don't panic with "compiler aborted in rustdoc!", instead just exit to avoid the ugly panic message.
* Use rlib as the crate type when searching for doctests matching what is used for doc generation so `#[no_std]` crates don't create "no global memory allocator" errors.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions