diff options
| author | Sean Cross <sean@xobs.io> | 2023-10-23 15:33:34 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2023-11-16 15:23:09 +0800 |
| commit | 1828cf8c1c9abf664f5fe17451cd0b0dfa450c91 (patch) | |
| tree | 3a1c245e71e13227002014de82919e9977c0fd80 | |
| parent | 28203172de4c3fbe670b09007584906eaeffcf52 (diff) | |
| download | rust-1828cf8c1c9abf664f5fe17451cd0b0dfa450c91.tar.gz rust-1828cf8c1c9abf664f5fe17451cd0b0dfa450c91.zip | |
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 <sean@xobs.io>
| -rw-r--r-- | library/std/src/sys/personality/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/personality/mod.rs b/library/std/src/sys/personality/mod.rs index 386a399f532..0fff53f1887 100644 --- a/library/std/src/sys/personality/mod.rs +++ b/library/std/src/sys/personality/mod.rs @@ -28,6 +28,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"), not(target_os = "l4re")), all(target_vendor = "fortanix", target_env = "sgx"), |
