Skip to main content

core/os/
mod.rs

1//! OS-specific functionality.
2#![unstable(feature = "core_os", issue = "none")]
3#![allow(missing_docs)]
4
5#[cfg(all(
6    doc,
7    any(
8        all(target_family = "wasm", not(target_os = "wasi")),
9        all(target_vendor = "fortanix", target_env = "sgx")
10    )
11))]
12#[unstable(issue = "none", feature = "std_internals")]
13pub mod darwin {}
14
15// darwin
16#[cfg(not(all(
17    doc,
18    any(
19        all(target_family = "wasm", not(target_os = "wasi")),
20        all(target_vendor = "fortanix", target_env = "sgx")
21    )
22)))]
23#[cfg(any(target_vendor = "apple", doc))]
24pub mod darwin;
25
26#[cfg(any(target_family = "windows", doc))]
27pub mod windows;