Provide a panic handler

This commit is contained in:
Philipp Oppermann
2023-03-25 18:46:52 +01:00
parent ca97148245
commit 9a85b44242

View File

@@ -1,3 +1,11 @@
#![no_std]
use core::panic::PanicInfo;
fn main() {}
/// This function is called on panic.
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {}
}