pub fn handle_panic(component: &str, info: &PanicInfo<'_>) -> !Expand description
Handle a component panic: format the info, log it, then exit.
component is a short name like "strate-net" or "fs-ext4".
info is the standard PanicInfo from the #[panic_handler].
Uses a stack-allocated buffer + core::fmt::Write so no heap
allocation is needed. Falls back even if locks or the heap are
corrupted.