Skip to content

Commit 80f5213

Browse files
committed
expand type info on __rust_start_panic
1 parent 35ee6bd commit 80f5213

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/panicking.rs

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ extern {
4444
data: *mut u8,
4545
data_ptr: *mut usize,
4646
vtable_ptr: *mut usize) -> u32;
47+
48+
/// `payload` is actually a `*mut &mut dyn BoxMeUp` but that would cause FFI warnings.
4749
#[unwind(allowed)]
4850
fn __rust_start_panic(payload: usize) -> u32;
4951
}

0 commit comments

Comments
 (0)