From 6ce8c715397b502a9d291988ebdf83b3b472af43 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 12 May 2015 15:11:49 -0700 Subject: [PATCH] [rebase] Add SEH personality stubs (unused) --- src/libstd/rt/unwind/seh.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libstd/rt/unwind/seh.rs b/src/libstd/rt/unwind/seh.rs index 42a0fb6abb968..54874ac4e2ce9 100644 --- a/src/libstd/rt/unwind/seh.rs +++ b/src/libstd/rt/unwind/seh.rs @@ -19,3 +19,10 @@ pub unsafe fn panic(_data: Box) -> ! { pub unsafe fn cleanup(_ptr: *mut c_void) -> Box { intrinsics::abort(); } + +#[lang = "eh_personality"] +#[no_mangle] +pub extern fn rust_eh_personality() {} + +#[no_mangle] +pub extern fn rust_eh_personality_catch() {}