rust/tests/ui/cfg/cfg-target-compact.rs
2023-01-11 09:32:08 +00:00

11 lines
189 B
Rust

// run-pass
#![feature(cfg_target_compact)]
#[cfg(target(os = "linux", pointer_width = "64"))]
pub fn main() {
}
#[cfg(not(target(os = "linux", pointer_width = "64")))]
pub fn main() {
}