Skip to content

Commit d5c0aca

Browse files
committed
Add comment
1 parent b06c83c commit d5c0aca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libpanic_unwind/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,7 @@ pub unsafe extern "C" fn __rust_start_panic(payload: usize) -> u32 {
9898
imp::panic(Box::from_raw((*payload).box_me_up()))
9999
}
100100

101+
// A dummy helper function for Miri.
102+
// Used to push an empty stack frame when we start unwinding
101103
#[cfg(miri)]
102104
pub fn miri_panic_trampoline() {}

0 commit comments

Comments
 (0)