about summary refs log tree commit diff
path: root/library/std/src/io/stdio
AgeCommit message (Collapse)AuthorLines
2025-02-08Rustfmtbjorn3-3/+4
2024-09-29Fix std tests for wasm32-wasip2 targetNicola Krumschmidt-4/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+3
2022-02-13Make default stdio lock() return 'static handlesMark Rousskov-3/+3
This also deletes the unstable API surface area previously added to expose this functionality on new methods rather than built into the current set.
2021-07-02stdio_locked: updates based on feedbackTaylor Yu-18/+3
Rename methods to `into_locked`. Remove type aliases for owned locks.
2021-07-01add owned locked stdio handlesTaylor Yu-0/+134
Add stderr_locked, stdin_locked, and stdout_locked free functions to obtain owned locked stdio handles in a single step. Also add into_lock methods to consume a stdio handle and return an owned lock. These methods will make it easier to use locked stdio handles without having to deal with lifetime problems or keeping bindings to the unlocked handles around.
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+47
Also doing fmt inplace as requested.