about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-29 16:18:29 +0000
committerbors <bors@rust-lang.org>2025-01-29 16:18:29 +0000
commit0cc4f4f7b81f88df6bdd54b41d4a0b1703fd014d (patch)
tree5020253fd4fc361c150401dcf6b564984145bfdb /library/std
parenta1d7676d6a8c6ff13f9165e98cc25eeec66cb592 (diff)
parentc941b1c5fc59a0fe4cfbf8867bc820bada06d21d (diff)
downloadrust-0cc4f4f7b81f88df6bdd54b41d4a0b1703fd014d.tar.gz
rust-0cc4f4f7b81f88df6bdd54b41d4a0b1703fd014d.zip
Auto merge of #136248 - matthiaskrgr:rollup-leaxgfd, r=matthiaskrgr
Rollup of 8 pull requests

Successful merges:

 - #133382 (Suggest considering casting fn item as fn pointer in more cases)
 - #136092 (Test pipes also when not running on Windows and Linux simultaneously)
 - #136190 (Remove duplicated code in RISC-V asm bad-reg test)
 - #136192 (ci: remove unused windows runner)
 - #136205 (Properly check that array length is valid type during built-in unsizing in index)
 - #136211 (Update mdbook to 0.4.44)
 - #136212 (Tweak `&mut self` suggestion span)
 - #136214 (Make crate AST mutation accessible for driver callback)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'library/std')
-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();