Skip to content

Commit

Permalink
fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
xor-bits committed Jul 14, 2023
1 parent 41e3803 commit 2603b6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/sample-elf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ pub extern "C" fn _start() -> ! {
hyperion_syscall::exit(0);
}

#[cfg(target_os = "none")]
#[panic_handler]
fn panic_handler(_info: &core::panic::PanicInfo) -> ! {
loop {}
}

// for clippy:
#[cfg(target_os = "none")]
#[lang = "eh_personality"]
extern "C" fn eh_personality() {}

0 comments on commit 2603b6f

Please sign in to comment.