about summary refs log tree commit diff
path: root/library/std/src/sys/io
AgeCommit message (Collapse)AuthorLines
2025-03-27Trusty: Implement write_vectored for stdioThalia Archibald-2/+2
Currently, `write` for stdout and stderr on Trusty is implemented with the semantics of `write_all`. Instead, call the underlying syscall only once in `write` and use the default implementation of `write_all` like other platforms. Also, implement `write_vectored` by adding support for `IoSlice`. Refactor stdin to reuse the unsupported type like #136769.
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-1/+0
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. These functions were added to all preludes in Rust 1.80.
2025-02-07std: get rid of `sys_common::io`joboet-0/+4
2025-02-07std: move `io` module out of `pal`joboet-0/+423