rust/tests/ui/cfg/cfg-target-family.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
247 B
Rust
Raw Normal View History

// build-pass
2019-05-07 14:34:46 -05:00
// ignore-sgx
// pretty-expanded FIXME #23616
#[cfg(target_family = "windows")]
2021-11-17 12:30:31 -06:00
pub fn main() {}
#[cfg(target_family = "unix")]
2021-11-17 12:30:31 -06:00
pub fn main() {}
2021-11-17 12:30:31 -06:00
#[cfg(all(target_family = "wasm", not(target_os = "emscripten")))]
pub fn main() {}