runtime/main: cleanup

This commit is contained in:
occheung 2021-09-10 13:59:53 +08:00
parent b091d8cb66
commit 448974fe11
1 changed files with 0 additions and 2 deletions

View File

@ -322,8 +322,6 @@ pub fn oom(layout: core::alloc::Layout) -> ! {
#[no_mangle] // https://github.com/rust-lang/rust/issues/{38281,51647} #[no_mangle] // https://github.com/rust-lang/rust/issues/{38281,51647}
#[panic_handler] #[panic_handler]
pub fn panic_impl(info: &core::panic::PanicInfo) -> ! { pub fn panic_impl(info: &core::panic::PanicInfo) -> ! {
// irq::set_ie(false);
#[cfg(has_error_led)] #[cfg(has_error_led)]
unsafe { unsafe {
csr::error_led::out_write(1); csr::error_led::out_write(1);