Skip to content

Commit

Permalink
Rollup merge of rust-lang#102721 - nbdd0121:panic, r=Amanieu
Browse files Browse the repository at this point in the history
Prevent foreign Rust exceptions from being caught

Fix rust-lang#102715

Use the address of a static variable (which is guaranteed to be unique per copy of std) to tell apart if a Rust exception comes from local or foreign Rust code, and abort for the latter.
  • Loading branch information
GuillaumeGomez authored Oct 29, 2022
2 parents 5dab309 + 1bccc94 commit 20106c5
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 20106c5

Please sign in to comment.