about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2023-10-23 15:32:59 +0800
committerSean Cross <sean@xobs.io>2023-11-16 15:23:09 +0800
commit28203172de4c3fbe670b09007584906eaeffcf52 (patch)
tree21ecfbaee3d82142011ef98900e3937d291c88ea
parentee870d6c8262cf58e203cc144e228a42072abb79 (diff)
downloadrust-28203172de4c3fbe670b09007584906eaeffcf52.tar.gz
rust-28203172de4c3fbe670b09007584906eaeffcf52.zip
panic_unwind: support unwinding on xous
Now that `unwind` supports Xous, enable unwinding panics on Xous.

Signed-off-by: Sean Cross <sean@xobs.io>
-rw-r--r--library/panic_unwind/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/panic_unwind/src/lib.rs b/library/panic_unwind/src/lib.rs
index 9363fde5de2..7a0bae34642 100644
--- a/library/panic_unwind/src/lib.rs
+++ b/library/panic_unwind/src/lib.rs
@@ -49,6 +49,7 @@ cfg_if::cfg_if! {
     } else if #[cfg(any(
         all(target_family = "windows", target_env = "gnu"),
         target_os = "psp",
+        target_os = "xous",
         target_os = "solid_asp3",
         all(target_family = "unix", not(target_os = "espidf")),
         all(target_vendor = "fortanix", target_env = "sgx"),