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.

13 lines
217 B
Rust
Raw Permalink Normal View History

//@ build-pass
2019-05-07 19:34:46 +00:00
//@ ignore-sgx
#[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() {}