about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-21 03:14:48 +0800
committerGitHub <noreply@github.com>2017-11-21 03:14:48 +0800
commit2a2b2f4a5b85a0711c980071e86185c2ec08fb1e (patch)
tree821af34ba19dc0a6787ad7f1664db08a0c972f9f /src/libstd/sys/unix/stack_overflow.rs
parent07d16a78a0968bb9c34e810e23d97527e0976805 (diff)
parent296aa96deb7e7676455db22dcdbaab83d21736ce (diff)
downloadrust-2a2b2f4a5b85a0711c980071e86185c2ec08fb1e.tar.gz
rust-2a2b2f4a5b85a0711c980071e86185c2ec08fb1e.zip
Rollup merge of #46124 - rkruppe:no-llvm_unreachable, r=arielb1
[rustllvm] Use report_fatal_error over llvm_unreachable

This makes it more robust when assertions are disabled, crashing instead of causing UB.

Also introduces a tidy check to enforce this rule, which in turn necessitated making tidy run on `src/rustllvm`.

Fixes #44020
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions