about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-24 22:39:00 +0100
committerGitHub <noreply@github.com>2024-02-24 22:39:00 +0100
commit9975e848ff7f1dd6a45da7fbb22cd5a8742b2071 (patch)
tree6189dcd8674bd2b5e0032138a8e53bc2b5b506ea /compiler/rustc_codegen_llvm/src/errors.rs
parent106e30ed4157827d1ba4b9bb9edd3f0cacbe04de (diff)
parentf08e2d4137bdf0e443f4061c8b1289f0a92513be (diff)
downloadrust-9975e848ff7f1dd6a45da7fbb22cd5a8742b2071.tar.gz
rust-9975e848ff7f1dd6a45da7fbb22cd5a8742b2071.zip
Rollup merge of #121551 - nbdd0121:ffi_unwind, r=RalfJung
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`.

r? ``@RalfJung``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions