rust/tests/ui/cfg/conditional-compile-arch.rs
2023-04-30 00:06:26 +08:00

45 lines
746 B
Rust

// run-pass
// pretty-expanded FIXME #23616
#[cfg(target_arch = "x86")]
pub fn main() { }
#[cfg(target_arch = "x86_64")]
pub fn main() { }
#[cfg(target_arch = "arm")]
pub fn main() { }
#[cfg(target_arch = "aarch64")]
pub fn main() { }
#[cfg(target_arch = "mips")]
pub fn main() { }
#[cfg(target_arch = "mips64")]
pub fn main() { }
#[cfg(target_arch = "powerpc")]
pub fn main() { }
#[cfg(target_arch = "powerpc64")]
pub fn main() { }
#[cfg(target_arch = "s390x")]
pub fn main() { }
#[cfg(target_arch = "asmjs")]
pub fn main() { }
#[cfg(target_arch = "wasm32")]
pub fn main() { }
#[cfg(target_arch = "sparc64")]
pub fn main() { }
#[cfg(target_arch = "riscv64")]
pub fn main() { }
#[cfg(target_arch = "loongarch64")]
pub fn main() { }