xous-core/xous-rs/src/arch/mod.rs
Sean Cross a0c82ee25c xous: initial draft of xous target support
This is an initial cut of the library as it will be included in the
libstd.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-11 12:27:55 +08:00

9 lines
289 B
Rust

#[cfg(any(target_os = "none", target_os = "xous"))]
pub mod native;
#[cfg(any(target_os = "none", target_os = "xous"))]
pub use native::*;
#[cfg(not(any(target_os = "none", target_os = "xous")))]
pub mod hosted;
#[cfg(not(any(target_os = "none", target_os = "xous")))]
pub use hosted::*;