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 19:34:46 +00:00
// ignore-sgx
// pretty-expanded FIXME #23616
#[cfg(target_family = "windows")]
2021-11-17 18:30:31 +00:00
pub fn main() {}
#[cfg(target_family = "unix")]
2021-11-17 18:30:31 +00:00
pub fn main() {}
2021-11-17 18:30:31 +00:00
#[cfg(all(target_family = "wasm", not(target_os = "emscripten")))]
pub fn main() {}