Pipe OK.
This commit is contained in:
parent
2e6734027d
commit
8e178c0080
14 changed files with 218 additions and 18 deletions
|
@ -1,3 +1,5 @@
|
|||
use super::exit;
|
||||
|
||||
#[panic_handler]
|
||||
fn panic_handler(panic_info: &core::panic::PanicInfo) -> ! {
|
||||
let err = panic_info.message().unwrap();
|
||||
|
@ -6,5 +8,5 @@ fn panic_handler(panic_info: &core::panic::PanicInfo) -> ! {
|
|||
} else {
|
||||
println!("Panicked: {}", err);
|
||||
}
|
||||
loop {}
|
||||
exit(-1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue