Add comment
This commit is contained in:
parent
b06c83c200
commit
d5c0acac4d
1 changed files with 2 additions and 0 deletions
|
@ -98,5 +98,7 @@ pub unsafe extern "C" fn __rust_start_panic(payload: usize) -> u32 {
|
|||
imp::panic(Box::from_raw((*payload).box_me_up()))
|
||||
}
|
||||
|
||||
// A dummy helper function for Miri.
|
||||
// Used to push an empty stack frame when we start unwinding
|
||||
#[cfg(miri)]
|
||||
pub fn miri_panic_trampoline() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue