Skip to main content

core/os/
mod.rs

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