Create dummy _Unwind_Resume function to fix libcore linker errors

(cherry picked from commit 952f7ed5e3)
This commit is contained in:
Philipp Oppermann
2016-06-24 13:35:22 +02:00
parent 3f4f2b8ac2
commit dcab71016c

View File

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