Fix building of aarch64-pc-windows-gnullvm

That change had been lost during rebase
This commit is contained in:
Mateusz Mikuła 2022-11-15 20:54:04 +01:00
parent 6d651a295e
commit c82353790a

View File

@ -275,7 +275,7 @@ pub fn _Unwind_Backtrace(trace: _Unwind_Trace_Fn,
} // cfg_if!
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"))] {
// We declare these as opaque types. This is fine since you just need to
// pass them to _GCC_specific_handler and forget about them.
pub enum EXCEPTION_RECORD {}