about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2023-12-16 01:49:01 +0000
committerGary Guo <gary@garyguo.net>2024-02-24 14:53:04 +0000
commitf08e2d4137bdf0e443f4061c8b1289f0a92513be (patch)
tree9cfb040963d9a39c5d8d206473b5ab70b89c968f /compiler/rustc_codegen_llvm/src/errors.rs
parent8f359beca4e58bc3ae795a666301a8f47023044c (diff)
downloadrust-f08e2d4137bdf0e443f4061c8b1289f0a92513be.tar.gz
rust-f08e2d4137bdf0e443f4061c8b1289f0a92513be.zip
Forbid use of `extern "C-unwind"` inside standard library
Those libraries are build with `-C panic=unwind` and is expected to
be linkable to `-C panic=abort` library. To ensure unsoundness
compiler needs to prevent a `C-unwind` call to exist, as doing so may leak
foreign exceptions into `-C panic=abort`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions