Skip to content

Commit fa4b5cf

Browse files
committed
Remove lang_items feature
1 parent 0ab2fe9 commit fa4b5cf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: src/main.rs

-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![feature(lang_items)]
21
#![no_std]
32
#![no_main]
43

@@ -378,12 +377,6 @@ pub fn panic(info: &PanicInfo) -> ! {
378377
loop {}
379378
}
380379

381-
#[lang = "eh_personality"]
382-
#[no_mangle]
383-
pub extern "C" fn eh_personality() {
384-
loop {}
385-
}
386-
387380
#[no_mangle]
388381
pub extern "C" fn _Unwind_Resume() {
389382
loop {}

0 commit comments

Comments
 (0)