mod.rs - source
Description: Source of the Rust file `/home/tan/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/linux_like/linux/arch/mod.rs`.
Keywords: rust, rustlang, rust-lang

    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::*;
        }
    }