std/os/macos/
mod.rs

1//! macOS-specific definitions
2
3#![stable(feature = "raw_ext", since = "1.1.0")]
4
5#[stable(feature = "metadata_ext", since = "1.1.0")]
6pub mod fs {
7    #[stable(feature = "file_set_times", since = "1.75.0")]
8    pub use crate::os::darwin::fs::FileTimesExt;
9    #[stable(feature = "metadata_ext", since = "1.1.0")]
10    pub use crate::os::darwin::fs::MetadataExt;
11}
12
13/// macOS-specific raw type definitions
14#[stable(feature = "raw_ext", since = "1.1.0")]
15#[deprecated(
16    since = "1.8.0",
17    note = "these type aliases are no longer supported by \
18            the standard library, the `libc` crate on \
19            crates.io should be used instead for the correct \
20            definitions"
21)]
22#[allow(deprecated)]
23pub mod raw {
24    #[doc(inline)]
25    #[stable(feature = "raw_ext", since = "1.1.0")]
26    pub use crate::os::darwin::raw::*;
27}