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

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

Tock default panic routine.

NOTE: The supplied writer must be synchronous.