about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-11-15 06:17:58 -0800
committerAlex Crichton <alex@alexcrichton.com>2018-12-12 08:07:28 -0800
commit1091eee65b91a9968f2a0b2f0c7d6e8e27d8d033 (patch)
treea39396a99d4ec12f53c2a622854bdb993d5b48eb /src/rustllvm/RustWrapper.cpp
parentbd47d6825bf4090517549d33cfef10d3300b4a75 (diff)
downloadrust-1091eee65b91a9968f2a0b2f0c7d6e8e27d8d033.tar.gz
rust-1091eee65b91a9968f2a0b2f0c7d6e8e27d8d033.zip
rustc: Switch `extern` functions to abort by default on panic
This was intended to land way back in 1.24, but it was backed out due to
breakage which has long since been fixed. An unstable `#[unwind]`
attribute can be used to tweak the behavior here, but this is currently
simply switching rustc's internal default to abort-by-default if an
`extern` function panics, making our codegen sound primarily (as
currently you can produce UB with safe code)

Closes #52652
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions