This PR adds some internal infrastructure to allow the private `std::sys` module to access internal representation details of `std::io`.
It then exposes those details in two new, platform-specific API surfaces: `std::os::unix` and `std::os::windows`.
To start with, these will provide the ability to extract file descriptors, HANDLEs, SOCKETs, and so on from `std::io` types.
More functionality, and more specific platforms (e.g. `std::os::linux`) will be added over time.
Closes #18897
) )
pub mod c;
+ pub mod ext;
pub mod fs;
+pub mod helper_signal;
pub mod os;
-pub mod tcp;
-pub mod udp;
pub mod pipe;
-pub mod helper_signal;
pub mod process;
+pub mod tcp;
pub mod timer;
+pub mod thread_local;
pub mod tty;
+pub mod udp;
pub mod addrinfo {
pub use sys_common::net::get_host_addresses;
) )
pub mod c;
+ pub mod ext;
pub mod fs;
+pub mod helper_signal;
pub mod os;
-pub mod tcp;
-pub mod udp;
pub mod pipe;
-pub mod helper_signal;
pub mod process;
+pub mod tcp;
+pub mod thread_local;
pub mod timer;
pub mod tty;
+pub mod udp;
pub mod addrinfo {
pub use sys_common::net::get_host_addresses;