mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 17:13:48 +00:00
18 lines
206 B
Rust
18 lines
206 B
Rust
//@run-rustfix
|
|
|
|
#![allow(unused)]
|
|
|
|
#[cfg(all(windows))]
|
|
fn hermit() {}
|
|
|
|
#[cfg(any(windows))]
|
|
fn wasi() {}
|
|
|
|
#[cfg(all(any(unix), all(not(windows))))]
|
|
fn the_end() {}
|
|
|
|
#[cfg(any())]
|
|
fn any() {}
|
|
|
|
fn main() {}
|