Skip to content

Commit e066709

Browse files
committed
Use correct EH personality on *-windows-gnu-*
1 parent c04669c commit e066709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/personality/gcc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ cfg_if::cfg_if! {
219219
}
220220

221221
cfg_if::cfg_if! {
222-
if #[cfg(all(windows, target_arch = "x86_64", target_env = "gnu"))] {
222+
if #[cfg(all(windows, any(target_arch = "aarch64", target_arch = "x86_64"), target_env = "gnu"))] {
223223
// On x86_64 MinGW targets, the unwinding mechanism is SEH however the unwind
224224
// handler data (aka LSDA) uses GCC-compatible encoding.
225225
#[lang = "eh_personality"]

0 commit comments

Comments
 (0)