about summary refs log tree commit diff
path: root/library/std/src/os/wasi/io/raw.rs
AgeCommit message (Collapse)AuthorLines
2025-01-14wasi/io: remove dead filesRalf Jung-20/+0
2022-07-27Allow using stable os::fd::raw items through unstable os::wasi modulebstrie-0/+15
This fixes a regression from stable to nightly. Closes #99502.
2021-08-19Factor out a common `RawFd`/`AsRawFd`/etc for Unix and WASI.Dan Gohman-180/+1
2021-08-19Fix copypasta of "Unix" within the WASI directory.Dan Gohman-1/+1
2021-08-19I/O safety.Dan Gohman-0/+184
Introduce `OwnedFd` and `BorrowedFd`, and the `AsFd` trait, and implementations of `AsFd`, `From<OwnedFd>` and `From<T> for OwnedFd` for relevant types, along with Windows counterparts for handles and sockets. Tracking issue: - <https://github.com/rust-lang/rust/issues/87074> RFC: - <https://github.com/rust-lang/rfcs/blob/master/text/3128-io-safety.md>