diff options
| author | Gary Guo <gary@garyguo.net> | 2023-12-16 01:49:01 +0000 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2024-02-24 14:53:04 +0000 |
| commit | f08e2d4137bdf0e443f4061c8b1289f0a92513be (patch) | |
| tree | 9cfb040963d9a39c5d8d206473b5ab70b89c968f /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 8f359beca4e58bc3ae795a666301a8f47023044c (diff) | |
| download | rust-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
