Use correct EH personality on *-windows-gnu-*
This commit is contained in:
parent
2a902a8857
commit
7333ee092b
@ -219,7 +219,7 @@ fn __gnu_unwind_frame(
|
||||
}
|
||||
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(all(windows, target_arch = "x86_64", target_env = "gnu"))] {
|
||||
if #[cfg(all(windows, any(target_arch = "aarch64", target_arch = "x86_64"), target_env = "gnu"))] {
|
||||
// On x86_64 MinGW targets, the unwinding mechanism is SEH however the unwind
|
||||
// handler data (aka LSDA) uses GCC-compatible encoding.
|
||||
#[lang = "eh_personality"]
|
||||
|
Loading…
Reference in New Issue
Block a user