diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-29 15:29:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-29 15:29:30 +0100 |
| commit | da7980b315abe88553d794e2dba2b1a7f8fee6dc (patch) | |
| tree | c379a44fb0d855f457fd42d91672ed26bbf369e6 | |
| parent | f8d103df43deaa0fbe4c1916186c4c8c275ce636 (diff) | |
| parent | 93d347d7d25f227c56b4d829ae1bf3392b7c3db3 (diff) | |
| download | rust-da7980b315abe88553d794e2dba2b1a7f8fee6dc.tar.gz rust-da7980b315abe88553d794e2dba2b1a7f8fee6dc.zip | |
Rollup merge of #136092 - tbu-:pr_io_pipe_test, r=joboet
Test pipes also when not running on Windows and Linux simultaneously Fixes https://github.com/rust-lang/rust/pull/135635#pullrequestreview-2574184488. Based on top of #135635 to avoid merge conflicts.
| -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(); |
