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]]
|
[[package]]
|
||||||
name = "spd"
|
name = "spd"
|
||||||
version = "0.0.1"
|
version = "0.0.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bindgen",
|
"bindgen",
|
||||||
"libc",
|
"libc",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "spd"
|
name = "spd"
|
||||||
version = "0.0.1"
|
version = "0.0.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "LGPL-3.0-or-later"
|
license = "LGPL-3.0-or-later"
|
||||||
authors = [
|
authors = [
|
||||||
|
@ -74,3 +74,9 @@ pub use libc_println as println;
|
|||||||
pub use libc_writeln as writeln;
|
pub use libc_writeln as writeln;
|
||||||
|
|
||||||
pub const SOURCE: &str = "https://git.tebibyte.media/emma/spd.git";
|
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