satman: remove useless _Unwind_Resume.

pull/1017/head
whitequark 2018-05-14 11:18:19 +00:00
parent 42420e094a
commit 368d6f9bfb
1 changed files with 0 additions and 8 deletions

View File

@ -298,11 +298,3 @@ pub extern fn panic_fmt(args: core::fmt::Arguments, file: &'static str, line: u3
println!("panic at {}:{}: {}", file, line, args);
loop {}
}
// Allow linking with crates that are built as -Cpanic=unwind even if we use -Cpanic=abort.
// This is never called.
#[allow(non_snake_case)]
#[no_mangle]
pub extern "C" fn _Unwind_Resume() -> ! {
loop {}
}