Skip to content

Commit 5e320df

Browse files
Mark-SimulacrumAmanieu
authored andcommitted
fixup! Inline catching panics into std::catch_unwind
1 parent f3da0ea commit 5e320df

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libstd/panicking.rs

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ cfg_if::cfg_if! {
6767
extern "C" {
6868
/// The payload ptr here is actually the same as the payload ptr for the try
6969
/// intrinsic (i.e., is really `*mut [u64; 2]` or `*mut *mut u8`).
70-
#[unwind(allowed)]
7170
fn __rust_panic_cleanup(payload: *mut u8) -> core::raw::TraitObject;
7271

7372
/// `payload` is actually a `*mut &mut dyn BoxMeUp` but that would cause FFI warnings.

0 commit comments

Comments
 (0)