Skip to content

Commit

Permalink
[rebase] Add SEH personality stubs (unused)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 12, 2015
1 parent 2fb70e2 commit 6ce8c71
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/libstd/rt/unwind/seh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ pub unsafe fn panic(_data: Box<Any + Send + 'static>) -> ! {
pub unsafe fn cleanup(_ptr: *mut c_void) -> Box<Any + Send + 'static> {
intrinsics::abort();
}

#[lang = "eh_personality"]
#[no_mangle]
pub extern fn rust_eh_personality() {}

#[no_mangle]
pub extern fn rust_eh_personality_catch() {}

0 comments on commit 6ce8c71

Please sign in to comment.