Attribute Macro panic_handler
#[panic_handler]Expand description
A macro attribute for the panic handler.
The attributed function will be used to override OSTD’s default
implementation of Rust’s #[panic_handler]. The function takes a single
parameter of type &core::panic::PanicInfo and does not return.