2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

satman: remove useless _Unwind_Resume.

This commit is contained in:
whitequark 2018-05-14 11:18:19 +00:00
parent 42420e094a
commit 368d6f9bfb

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 {}
}