about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorJieyou Xu <jieyouxu@outlook.com>2025-04-17 23:20:30 +0800
committerJieyou Xu <jieyouxu@outlook.com>2025-04-17 23:23:30 +0800
commit83af9f57c12c25807777f0c42ecc5a9ba070b09f (patch)
tree178676806e7ce22debd8380f794309acc0a369aa /tests
parent94015d3cd4b48d098abd0f3e44af97dab2b713b4 (diff)
downloadrust-83af9f57c12c25807777f0c42ecc5a9ba070b09f.tar.gz
rust-83af9f57c12c25807777f0c42ecc5a9ba070b09f.zip
run-make: drop `os_pipe` workaround now that `anonymous_pipe` is stable on beta
Diffstat (limited to 'tests')
-rw-r--r--tests/run-make/broken-pipe-no-ice/rmake.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/run-make/broken-pipe-no-ice/rmake.rs b/tests/run-make/broken-pipe-no-ice/rmake.rs
index 3e54b576fd4..0521b395020 100644
--- a/tests/run-make/broken-pipe-no-ice/rmake.rs
+++ b/tests/run-make/broken-pipe-no-ice/rmake.rs
@@ -14,9 +14,7 @@
 use std::io::Read;
 use std::process::{Command, Stdio};
 
-// FIXME(#137532): replace `os_pipe` dependency with std `anonymous_pipe` once that stabilizes and
-// reaches beta.
-use run_make_support::{env_var, os_pipe};
+use run_make_support::env_var;
 
 #[derive(Debug, PartialEq)]
 enum Binary {
@@ -25,7 +23,7 @@ enum Binary {
 }
 
 fn check_broken_pipe_handled_gracefully(bin: Binary, mut cmd: Command) {
-    let (reader, writer) = os_pipe::pipe().unwrap();
+    let (reader, writer) = std::io::pipe().unwrap();
     drop(reader); // close read-end
     cmd.stdout(writer).stderr(Stdio::piped());