diff options
| author | Sean Cross <sean@xobs.io> | 2022-08-12 16:28:59 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2023-08-22 08:20:04 +0800 |
| commit | 61cfb1734aefee0f7dfa2ce55964372b02327285 (patch) | |
| tree | bb04811fae016b4f234a48dd819bb7f3fe7acd1f /library/std/src/sys/mod.rs | |
| parent | ef85656a10657ba5e4f7fe2931a4ca6293138d51 (diff) | |
| download | rust-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.rs | 3 |
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::*; |
