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

11 lines
143 B
Rust

// run-pass
#![feature(cfg_target_abi)]
#[cfg(target_abi = "eabihf")]
pub fn main() {
}
#[cfg(not(target_abi = "eabihf"))]
pub fn main() {
}