added panic_handler implementation

This commit is contained in:
2023-03-23 18:47:30 -04:00
parent 42bb7655ba
commit 3cb89896eb
3 changed files with 8 additions and 2 deletions

View File

@@ -74,3 +74,9 @@ pub use libc_println as println;
pub use libc_writeln as writeln;
pub const SOURCE: &str = "https://git.tebibyte.media/emma/spd.git";
#[panic_handler]
pub fn panic(info: &panic::PanicInfo) -> ! {
eprintln!("{:?}", info);
loop {}
}