added panic_handler implementation
This commit is contained in:
@@ -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 {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user