about summary refs log tree commit diff
path: root/library/panic_unwind
diff options
context:
space:
mode:
authorVladimir Michael Eatwell <dimir@fb.com>2022-03-23 16:05:01 +0000
committerVladimir Michael Eatwell <dimir@fb.com>2022-07-20 08:57:36 +0100
commit439d64a83c84fe36befacc4af867eaadb96589d5 (patch)
tree18b420b8abf27c5511e8d1bee7fbfc1a715f3799 /library/panic_unwind
parentc3605f8c8020dbbe8f0d1961c7b33c4c4b78ad0d (diff)
downloadrust-439d64a83c84fe36befacc4af867eaadb96589d5.tar.gz
rust-439d64a83c84fe36befacc4af867eaadb96589d5.zip
Library changes for Apple WatchOS
Diffstat (limited to 'library/panic_unwind')
-rw-r--r--library/panic_unwind/src/gcc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/panic_unwind/src/gcc.rs b/library/panic_unwind/src/gcc.rs
index a0297b4b2f5..057e47bfdd1 100644
--- a/library/panic_unwind/src/gcc.rs
+++ b/library/panic_unwind/src/gcc.rs
@@ -131,7 +131,7 @@ const UNWIND_DATA_REG: (i32, i32) = (10, 11); // x10, x11
 // https://github.com/gcc-mirror/gcc/blob/trunk/libgcc/unwind-c.c
 
 cfg_if::cfg_if! {
-    if #[cfg(all(target_arch = "arm", not(target_os = "ios"), not(target_os = "netbsd")))] {
+    if #[cfg(all(target_arch = "arm", not(target_os = "ios"), not(target_os = "watchos"), not(target_os = "netbsd")))] {
         // ARM EHABI personality routine.
         // https://infocenter.arm.com/help/topic/com.arm.doc.ihi0038b/IHI0038B_ehabi.pdf
         //