Skip to content

Commit 98fa5ac

Browse files
committed
RaiseException is used by everything except x86 gnu
1 parent 94db864 commit 98fa5ac

File tree

1 file changed

+1
-0
lines changed
  • src/libstd/sys/windows

1 file changed

+1
-0
lines changed

src/libstd/sys/windows/c.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ extern "system" {
10861086
pub fn CryptReleaseContext(hProv: HCRYPTPROV, dwFlags: DWORD) -> BOOL;
10871087

10881088
#[unwind]
1089+
#[cfg(any(target_arch = "x86_64", target_env = "msvc"))]
10891090
pub fn RaiseException(dwExceptionCode: DWORD,
10901091
dwExceptionFlags: DWORD,
10911092
nNumberOfArguments: DWORD,

0 commit comments

Comments
 (0)