about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-23 07:41:19 +0200
committerGitHub <noreply@github.com>2024-05-23 07:41:19 +0200
commit5126d4b87bb7bb3892d50b5c59a01641cfd90d7e (patch)
treeb8331adf86cc804945f960e40c9554a50235bf5b /compiler/rustc_codegen_llvm/src/builder.rs
parent3c79f0cd69fde1b44fb7fbac4c5dd52b7a0a2c6d (diff)
parent3a21fb5cec07052cb664b6a051e233cd4776283a (diff)
downloadrust-5126d4b87bb7bb3892d50b5c59a01641cfd90d7e.tar.gz
rust-5126d4b87bb7bb3892d50b5c59a01641cfd90d7e.zip
Rollup merge of #125392 - workingjubilee:unwind-a-problem-in-context, r=Amanieu
Wrap Context.ext in AssertUnwindSafe

Fixes https://github.com/rust-lang/rust/issues/125193

Alternative to https://github.com/rust-lang/rust/pull/125377

Relevant to https://github.com/rust-lang/rust/issues/123392

I believe this approach is justifiable due to the fact that this function is unstable API and we have been considering trying to dispose of the notion of "unwind safety". Making a more long-term decision should be considered carefully as part of stabilizing `fn ext`, if ever.

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