    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

    cfg_if! {
        if #[cfg(any(target_arch = "mips", target_arch = "mips64"))] {
            mod mips;
            pub use self::mips::*;
        } else if #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))] {
            mod powerpc;
            pub use self::powerpc::*;
        } else if #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))] {
            mod sparc;
            pub use self::sparc::*;
        } else {
            mod generic;
            pub use self::generic::*;
        }
    }