1cfg_if::cfg_if! {
2 if #[cfg(all(unix, not(miri)))] {
3 mod unix;
4 pub use self::unix::*;
5 } else if #[cfg(all(target_os = "none", target_arch = "aarch64"))] {
6 mod aarch64;
7 pub use self::aarch64::*;
8 } else if #[cfg(all(target_os = "none", target_arch = "riscv64"))] {
9 mod riscv64;
10 pub use self::riscv64::*;
11 } else if #[cfg(all(target_os = "none", target_arch = "x86_64"))] {
12 mod x86_64;
13 pub use self::x86_64::*;
14 } else {
15 mod unsupported;
16 pub use self::unsupported::*;
17 }
18}