Abort when foreign exceptions are caught by catch_unwind Prior to this PR, foreign exceptions were not caught by catch_unwind, and instead passed through invisibly. This represented a painful soundness hole in some libraries ([take_mut](https://github.com/Sgeo/take_mut/blob/master/src/lib.rs#L37)), which relied on `catch_unwind` to handle all possible exit paths from a closure. With this PR, foreign exceptions are now caught by `catch_unwind` and will trigger an abort since catching foreign exceptions is currently UB according to the latest proposals by the FFI unwind project group. cc @rust-lang/wg-ffi-unwind |
||
|---|---|---|
| .. | ||
| dwarf | ||
| dummy.rs | ||
| emcc.rs | ||
| gcc.rs | ||
| hermit.rs | ||
| lib.rs | ||
| miri.rs | ||
| seh.rs | ||