#[allow(missing_docs)]
pub mod unix_ext {}
} else {
- // On other platforms like Windows document the bare bones of unix
- use crate::os::linux as platform;
#[path = "unix/ext/mod.rs"]
pub mod unix_ext;
}
cfg_if::cfg_if! {
if #[cfg(target_os = "wasi")] {
// On WASI we'll document what's already available
- #[stable(feature = "rust1", since = "1.0.0")]
+ #[stable(feature = "wasi_ext_doc", since = "1.35.0")]
pub use self::ext as wasi_ext;
} else if #[cfg(any(target_os = "hermit",
target_arch = "wasm32",
} else {
// On other platforms like Windows document the bare bones of WASI
#[path = "wasi/ext/mod.rs"]
+ #[stable(feature = "wasi_ext_doc", since = "1.35.0")]
pub mod wasi_ext;
}
}