about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-01-20 11:14:49 +0530
committerGitHub <noreply@github.com>2020-01-20 11:14:49 +0530
commitcd4652a195ff019481c719a3d66ef4938c20e3d9 (patch)
tree50995003e8e821f4fe7dbda5ff4cae9ec0e3134c /src/libstd/sys/unix/stack_overflow.rs
parentfb86b820bbde7772477a95e36a70f06578313de2 (diff)
parent17f4cbc3032f7e81f0ec0c7e3b4cd0c3da30c916 (diff)
downloadrust-cd4652a195ff019481c719a3d66ef4938c20e3d9.tar.gz
rust-cd4652a195ff019481c719a3d66ef4938c20e3d9.zip
Rollup merge of #68357 - ollie27:rustdoc_test_errors, r=GuillaumeGomez
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.

Fixes #52243
Fixes #54010

r? @GuillaumeGomez
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions