1#![cfg_attr(windows, doc = "```no_run")]
12#![cfg_attr(not(windows), doc = "```ignore (needs windows)")]
13#![stable(feature = "rust1", since = "1.0.0")]
27#![doc(cfg(windows))]
28#![deny(unsafe_op_in_unsafe_fn)]
29
30pub mod ffi;
31pub mod fs;
32pub mod io;
33#[unstable(feature = "windows_unix_domain_sockets", issue = "150487")]
34pub mod net;
35pub mod process;
36pub mod raw;
37pub mod thread;
38
39#[unstable(feature = "codeview_annotation", issue = "163964")]
40#[cfg(windows)]
41pub use core::os::windows::{CodeViewAnnotationArgs, codeview_annotation};
42
43#[stable(feature = "rust1", since = "1.0.0")]
47pub mod prelude {
48 #[doc(no_inline)]
49 #[stable(feature = "rust1", since = "1.0.0")]
50 pub use super::ffi::{OsStrExt, OsStringExt};
51 #[doc(no_inline)]
52 #[stable(feature = "file_offset", since = "1.15.0")]
53 pub use super::fs::FileExt;
54 #[doc(no_inline)]
55 #[stable(feature = "rust1", since = "1.0.0")]
56 pub use super::fs::{MetadataExt, OpenOptionsExt};
57 #[doc(no_inline)]
58 #[stable(feature = "rust1", since = "1.0.0")]
59 pub use super::io::{
60 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromRawHandle, FromRawSocket,
61 HandleOrInvalid, IntoRawHandle, IntoRawSocket, OwnedHandle, OwnedSocket,
62 };
63 #[doc(no_inline)]
64 #[stable(feature = "rust1", since = "1.0.0")]
65 pub use super::io::{AsRawHandle, AsRawSocket, RawHandle, RawSocket};
66}