Skip to content

Commit ad5de91

Browse files
committed
std: personality: support gcc personality on Xous
Xous as an operating system is compiled with gcc-type personalities when it comes to unwinding. This enables unwinding inside panics on Xous, which enables Rust tests. Signed-off-by: Sean Cross <[email protected]>
1 parent e96a2d8 commit ad5de91

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/personality

1 file changed

+1
-0
lines changed

library/std/src/sys/personality/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ cfg_if::cfg_if! {
2828
} else if #[cfg(any(
2929
all(target_family = "windows", target_env = "gnu"),
3030
target_os = "psp",
31+
target_os = "xous",
3132
target_os = "solid_asp3",
3233
all(target_family = "unix", not(target_os = "espidf"), not(target_os = "l4re")),
3334
all(target_vendor = "fortanix", target_env = "sgx"),

0 commit comments

Comments
 (0)