Skip to content

Commit 0332ee9

Browse files
committed
Fix stage0 ICE caused by the old _Unwind_Resume override trickery.
1 parent afc3046 commit 0332ee9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/sys/common/libunwind.rs

+2
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ extern "C" {
131131

132132
pub fn _Unwind_DeleteException(exception: *mut _Unwind_Exception);
133133

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

0 commit comments

Comments
 (0)