Skip to content

Commit 7333ee0

Browse files
committed
Use correct EH personality on *-windows-gnu-*
1 parent 2a902a8 commit 7333ee0

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/personality

1 file changed

+1
-1
lines changed

library/std/src/personality/gcc.rs

+1-1
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)