std/os/darwin/
mod.rs

1//! Platform-specific extensions to `std` for Darwin / Apple platforms.
2//!
3//! This is available on the following operating systems:
4//! - macOS
5//! - iOS
6//! - tvOS
7//! - watchOS
8//! - visionOS
9//!
10//! Note: This module is called "Darwin" as that's the name of the underlying
11//! core OS of the above operating systems, but it should not be confused with
12//! the `-darwin` suffix in the `x86_64-apple-darwin` and
13//! `aarch64-apple-darwin` target names, which are mostly named that way for
14//! legacy reasons.
15
16#![stable(feature = "os_darwin", since = "1.84.0")]
17#![doc(cfg(target_vendor = "apple"))]
18
19pub mod fs;
20// deprecated, but used for public reexport under `std::os::unix::raw`, as
21// well as `std::os::macos`/`std::os::ios`, because those modules precede the
22// decision to remove these.
23pub(super) mod raw;