about summary refs log tree commit diff
path: root/library/std/src/io/pipe
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2025-01-26 12:48:33 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2025-01-26 12:48:33 +0100
commit93d347d7d25f227c56b4d829ae1bf3392b7c3db3 (patch)
tree7a702e751d1a4cfa21af8edb5eef665944e2d320 /library/std/src/io/pipe
parentad28cbb423b5ab203a502ecee30d630e54ea3498 (diff)
downloadrust-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.rs2
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();