Skip to content

Commit

Permalink
Rollup merge of #125392 - workingjubilee:unwind-a-problem-in-context,…
Browse files Browse the repository at this point in the history
… r=Amanieu

Wrap Context.ext in AssertUnwindSafe

Fixes rust-lang/rust#125193

Alternative to rust-lang/rust#125377

Relevant to rust-lang/rust#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`
  • Loading branch information
matthiaskrgr authored May 23, 2024
2 parents 0ec6f26 + de60a2a commit 789d269
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 789d269

Please sign in to comment.