Skip to content

Commit 53cc725

Browse files
committed
Remove eh_unwind_resume lang item
The eh_unwind_resume lang item has been removed [1], which prevents using uefi_std with newer toolchains. [1]: rust-lang/rust#67502
1 parent 8557730 commit 53cc725

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/rt/panic.rs

-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
#[no_mangle]
66
pub extern fn rust_eh_personality() {}
77

8-
// This function may be needed based on the compilation target.
9-
#[lang = "eh_unwind_resume"]
10-
#[no_mangle]
11-
pub extern fn rust_eh_unwind_resume() {
12-
loop {}
13-
}
14-
158
#[panic_handler]
169
#[no_mangle]
1710
pub extern fn rust_begin_panic(pi: &::core::panic::PanicInfo) -> ! {

0 commit comments

Comments
 (0)