[][src]Function kernel::debug::panic

pub unsafe fn panic<L: Led, W: Write>(
    leds: &mut [&mut L],
    writer: &mut W,
    panic_info: &PanicInfo,
    nop: &dyn Fn(),
    processes: &'static [Option<&'static dyn ProcessType>]
) -> !

Tock default panic routine.

NOTE: The supplied writer must be synchronous.