Function kernel::debug::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.