about summary refs log tree commit diff
path: root/library/std/src/sys/stdio/unix.rs
AgeCommit message (Collapse)AuthorLines
2025-03-23Auto merge of #136769 - thaliaarchi:io-optional-methods/stdio, r=joboetbors-6/+6
Provide optional `Read`/`Write` methods for stdio Override more of the default methods for `io::Read` and `io::Write` for stdio types, when efficient to do so, and deduplicate unsupported types. Tracked in https://github.com/rust-lang/rust/issues/136756. try-job: x86_64-msvc-1
2025-03-22Use unit structs for stateless stdioThalia Archibald-6/+6
This seems to be the pattern for newer pal stdio types.
2025-03-17Implement read_buf for HermitThalia Archibald-4/+1
2025-03-09std: move stdio to `sys`joboet-0/+106
As per #117276, this moves the platform definitions of `Stdout` and friends into `sys`. This PR also unifies the UNIX and Hermit implementations and moves the `__rust_print_err` function needed by libunwind on SGX into the dedicated module for such helper functions.