diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-08 21:37:24 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-08 21:37:24 +0100 | 
| commit | 02b8bea0849f982a480d80487b376204f658942b (patch) | |
| tree | 75d253c22c5cfbf9b3ae5ed287cfa9a5a2a9030b /library/std/tests/common/mod.rs | |
| parent | 8ad2c9724d983cfb116baab0bb800edd17f31644 (diff) | |
| parent | 7433ba62b10126b0ae8b78d711f19402db663101 (diff) | |
| download | rust-02b8bea0849f982a480d80487b376204f658942b.tar.gz rust-02b8bea0849f982a480d80487b376204f658942b.zip  | |
Rollup merge of #135696 - joboet:move_pal_io, r=Noratrieb
std: move `io` module out of `pal`, get rid of `sys_common::io` Part of #117276. This does two related things: 1. It moves the platform-specific definitions for `IoSlice`, `IoSliceMut` and `is_terminal` out of `pal` and into `sys` and unifies some of them. 2. It gets rid of `sys_common::io`, moving the non-platform-specific test helpers into `std::test_helpers` and the buffer size definition to the new `sys::io` module.
Diffstat (limited to 'library/std/tests/common/mod.rs')
| -rw-r--r-- | library/std/tests/common/mod.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/common/mod.rs b/library/std/tests/common/mod.rs index 7cf70c725e4..1e8e4cced6c 100644 --- a/library/std/tests/common/mod.rs +++ b/library/std/tests/common/mod.rs @@ -18,7 +18,7 @@ pub(crate) fn test_rng() -> rand_xorshift::XorShiftRng { rand::SeedableRng::from_seed(seed) } -// Copied from std::sys_common::io +// Copied from std::test_helpers pub(crate) struct TempDir(PathBuf); impl TempDir {  | 
