Create dummy _Unwind_Resume function to fix libcore linker errors

This commit is contained in:
Philipp Oppermann
2016-06-24 13:35:22 +02:00
parent 76b83c623e
commit 952f7ed5e3

View File

@@ -84,3 +84,9 @@ extern "C" fn panic_fmt(fmt: core::fmt::Arguments, file: &str, line: u32) -> ! {
println!(" {}", fmt);
loop {}
}
#[allow(non_snake_case)]
#[no_mangle]
pub extern "C" fn _Unwind_Resume() -> ! {
loop {}
}