1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#[cfg(all(any(target_os = "none", target_os = "xous"), target_arch = "arm"))]
mod arm;
#[cfg(all(any(target_os = "none", target_os = "xous"), target_arch = "arm"))]
pub use arm::*;

#[cfg(all(any(target_os = "xous", target_os = "none"), target_arch = "riscv32"))]
pub mod riscv;
#[cfg(all(any(target_os = "xous", target_os = "none"), target_arch = "riscv32"))]
pub use riscv::*;

#[cfg(all(
    not(feature = "processes-as-threads"),
    not(any(target_os = "xous", target_os = "none")),
    not(target_arch = "arm"),
))]
pub mod hosted;
#[cfg(all(
    not(feature = "processes-as-threads"),
    not(any(target_os = "xous", target_os = "none")),
    not(target_arch = "arm"),
))]
pub use hosted::*;

#[cfg(feature = "processes-as-threads")]
pub mod test;
#[cfg(feature = "processes-as-threads")]
pub use test::*;