rust/src/test/run-pass/conditional-compile-arch.rs
Brian Anderson dd5512ccb0 Support conditional compilation based on architecture
target_os = "x86" or target_os = "x86_64"
2011-11-15 16:33:09 -08:00

6 lines
88 B
Rust

#[cfg(target_arch = "x86")]
fn main() { }
#[cfg(target_arch = "x86_64")]
fn main() { }