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