Skip to main content

take_panic_breadcrumb

Function take_panic_breadcrumb 

Source
pub fn take_panic_breadcrumb() -> Option<PanicCrumb>
Expand description

Read and clear the previous run’s panic breadcrumb, if any. Call once at boot, before install, and log the result (the markers::PREV_PANIC line) — that read-back is the cross-transport fault contract (R8), identical on both targets. Returns None on a clean boot or once the crumb is taken.