Skip to content

Commit

Permalink
psx: Updates to panic info for 1.81.0 (~Jun 2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
hornc committed Aug 24, 2024
1 parent 8cfc8a5 commit a62adb4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions psx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
)]
// Used to implement `ImplsAsCStr` trait
#![feature(min_specialization)]
// For the panic handler
#![feature(panic_info_message)]
// For global_asm! on MIPS
#![feature(asm_experimental_arch)]
// For `__start`'s return type
Expand Down
6 changes: 0 additions & 6 deletions psx/src/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ fn min_panic(info: &core::panic::PanicInfo) {
println!("Panicked at unknown location")
},
}
if let Some(msg) = info.message() {
println!("{}", msg)
}
}

fn normal_panic(info: &core::panic::PanicInfo) {
Expand All @@ -70,9 +67,6 @@ fn normal_panic(info: &core::panic::PanicInfo) {
dprintln!(txt, "Panicked at unknown location");
},
}
if let Some(msg) = info.message() {
dprintln!(txt, "{}", msg);
}
fb.draw_sync();
fb.wait_vblank();
fb.swap();
Expand Down

0 comments on commit a62adb4

Please sign in to comment.