Skip to content

Commit

Permalink
Fix stage0 ICE caused by the old _Unwind_Resume override trickery.
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed Nov 1, 2015
1 parent afc3046 commit 0332ee9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/sys/common/libunwind.rs
Expand Up @@ -131,6 +131,8 @@ extern "C" {

pub fn _Unwind_DeleteException(exception: *mut _Unwind_Exception);

// remove cfg after new snapshot
#[cfg(not(all(stage0, target_os="windows", target_arch="x86_64")))]
#[unwind]
pub fn _Unwind_Resume(exception: *mut _Unwind_Exception) -> !;
}
Expand Down

0 comments on commit 0332ee9

Please sign in to comment.