about summary refs log tree commit diff
path: root/src/libpanic_unwind
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpanic_unwind')
-rw-r--r--src/libpanic_unwind/seh.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libpanic_unwind/seh.rs b/src/libpanic_unwind/seh.rs
index d6298a38a26..8333477a841 100644
--- a/src/libpanic_unwind/seh.rs
+++ b/src/libpanic_unwind/seh.rs
@@ -119,7 +119,9 @@ mod imp {
     }
 }
 
-#[cfg(target_arch = "x86_64")]
+// TODO: this needs to be validated when WinEH for ARM is implemented in LLVM
+// It looks like ARM and ARM64 use the same _TypeInfo semantics as x64
+#[cfg(any(target_arch = "x86_64", target_arch = "arm"))]
 #[macro_use]
 mod imp {
     pub type ptr_t = u32;