rust/tests/ui/cfg/conditional-compile-arch.rs
2023-01-11 09:32:08 +00:00

42 lines
691 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() { }