1 | cfg_if! { |
---|---|
2 | if #[cfg(any(target_arch = "mips", |
3 | target_arch = "mips32r6", |
4 | target_arch = "mips64", |
5 | target_arch = "mips64r6"))] { |
6 | mod mips; |
7 | pub use self::mips::*; |
8 | } else if #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))] { |
9 | mod powerpc; |
10 | pub use self::powerpc::*; |
11 | } else if #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))] { |
12 | mod sparc; |
13 | pub use self::sparc::*; |
14 | } else { |
15 | mod generic; |
16 | pub use self::generic::*; |
17 | } |
18 | } |
19 |