Skip to main content

record_panic_location

Function record_panic_location 

Source
fn record_panic_location(info: &PanicHookInfo<'_>)
Expand description

Record a panic’s source location into the current thread’s take-once slot.

Called unconditionally from the hook (before the MINIEXTENDR_BACKTRACE env check) so the location is available to the panic-stringification sites regardless of whether the stderr traceback is enabled.