mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
16 lines
190 B
Rust
16 lines
190 B
Rust
#![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() {}
|