Function rust_panic_with_hook

Source
fn rust_panic_with_hook(
    payload: &mut dyn PanicPayload,
    location: &Location<'_>,
    can_unwind: bool,
    force_no_backtrace: bool,
) -> !
Expand description

Central point for dispatching panics.

Executes the primary logic for a panic, including checking for recursive panics, panic hooks, and finally dispatching to the panic runtime to either abort or unwind.