diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2025-01-26 12:48:33 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2025-01-26 12:48:33 +0100 |
| commit | 93d347d7d25f227c56b4d829ae1bf3392b7c3db3 (patch) | |
| tree | 7a702e751d1a4cfa21af8edb5eef665944e2d320 /library/std/src/io/pipe | |
| parent | ad28cbb423b5ab203a502ecee30d630e54ea3498 (diff) | |
| download | rust-93d347d7d25f227c56b4d829ae1bf3392b7c3db3.tar.gz rust-93d347d7d25f227c56b4d829ae1bf3392b7c3db3.zip | |
Test pipes also when not running on Windows and Linux simultaneously
Fixes https://github.com/rust-lang/rust/pull/135635#pullrequestreview-2574184488.
Diffstat (limited to 'library/std/src/io/pipe')
| -rw-r--r-- | library/std/src/io/pipe/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/pipe/tests.rs b/library/std/src/io/pipe/tests.rs index c1f3f192ca2..f113b157459 100644 --- a/library/std/src/io/pipe/tests.rs +++ b/library/std/src/io/pipe/tests.rs @@ -1,7 +1,7 @@ use crate::io::{Read, Write, pipe}; #[test] -#[cfg(all(windows, unix, not(miri)))] +#[cfg(all(any(unix, windows), not(miri)))] fn pipe_creation_clone_and_rw() { let (rx, tx) = pipe().unwrap(); |
