Skip to content

Commit

Permalink
Remove eh_unwind_resume lang item
Browse files Browse the repository at this point in the history
The eh_unwind_resume lang item has been removed [1], which prevents
using uefi_std with newer toolchains.

[1]: rust-lang/rust#67502
  • Loading branch information
crawfxrd committed Oct 7, 2020
1 parent 8557730 commit 53cc725
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/rt/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
#[no_mangle]
pub extern fn rust_eh_personality() {}

// This function may be needed based on the compilation target.
#[lang = "eh_unwind_resume"]
#[no_mangle]
pub extern fn rust_eh_unwind_resume() {
loop {}
}

#[panic_handler]
#[no_mangle]
pub extern fn rust_begin_panic(pi: &::core::panic::PanicInfo) -> ! {
Expand Down

0 comments on commit 53cc725

Please sign in to comment.