about summary refs log tree commit diff
path: root/library/std/src/sys/mod.rs
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2022-08-12 16:28:59 +0800
committerSean Cross <sean@xobs.io>2023-08-22 08:20:04 +0800
commit61cfb1734aefee0f7dfa2ce55964372b02327285 (patch)
treebb04811fae016b4f234a48dd819bb7f3fe7acd1f /library/std/src/sys/mod.rs
parentef85656a10657ba5e4f7fe2931a4ca6293138d51 (diff)
downloadrust-61cfb1734aefee0f7dfa2ce55964372b02327285.tar.gz
rust-61cfb1734aefee0f7dfa2ce55964372b02327285.zip
libstd: add xous to libstd
Add the `xous` target to libstd. Currently this defers everything to the
`unsupported` target.

Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'library/std/src/sys/mod.rs')
-rw-r--r--library/std/src/sys/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs
index beea3f23c2d..d30dbebe797 100644
--- a/library/std/src/sys/mod.rs
+++ b/library/std/src/sys/mod.rs
@@ -44,6 +44,9 @@ cfg_if::cfg_if! {
     } else if #[cfg(target_family = "wasm")] {
         mod wasm;
         pub use self::wasm::*;
+    } else if #[cfg(target_os = "xous")] {
+        mod xous;
+        pub use self::xous::*;
     } else if #[cfg(all(target_vendor = "fortanix", target_env = "sgx"))] {
         mod sgx;
         pub use self::sgx::*;