summary refs log tree commit diff
path: root/library/panic_unwind/src/lib.rs
AgeCommit message (Collapse)AuthorLines
2021-02-03Revert stabilizing integer::BITS.Mara Bos-0/+1
2021-01-31stabilize int_bits_constAshley Mannix-1/+0
2020-12-25fix another comment, and make __rust_start_panic code a bit more ↵Ralf Jung-2/+2
semantically clear
2020-12-21slightly more typed interface to panic implementationRalf Jung-2/+1
2020-11-22Drop support for cloudabi targetsLzu Tao-1/+0
2020-09-20Rollup merge of #76866 - est31:master, r=lcnrRalf Jung-1/+0
Remove unused feature gates from library/ crates Removes some unused feature gates from library crates. It's likely not a complete list as I only tested a subset for which it's more likely that it is unused.
2020-09-19Use `T::BITS` instead of `size_of::<T> * 8`.Mara Bos-0/+1
2020-09-18Remove unused libc feature gateest31-1/+0
Libc isn't used by alloc. And std and panic_* use libc from crates.io now, which isn't feature gated.
2020-08-28Auto merge of #70212 - Amanieu:catch_foreign, r=Mark-Simulacrumbors-0/+3
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
2020-08-27Abort when catch_unwind catches a foreign exceptionAmanieu d'Antras-0/+3
2020-08-24[AVR] Rename the last few remaining references from 'avr-unknown-unknown' to ↵Dylan McKay-1/+1
'avr-unknown-gnu-atmega328'
2020-08-08Add back unwinding support for Sony PSPMarko Mijalkovic-1/+1
2020-07-27mv std libs to library/mark-0/+110