kernel::debug

Function panic_banner

Source
pub unsafe fn panic_banner<W: Write>(writer: &mut W, panic_info: &PanicInfo<'_>)
Expand description

Lightweight prints about the current panic and kernel version.

NOTE: The supplied writer must be synchronous.