added panic_handler implementation
This commit is contained in:
parent
42bb7655ba
commit
3cb89896eb
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -186,7 +186,7 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
|
||||
|
||||
[[package]]
|
||||
name = "spd"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"libc",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "spd"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
edition = "2021"
|
||||
license = "LGPL-3.0-or-later"
|
||||
authors = [
|
||||
|
@ -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