From 2af4197f424f2c24e4256584383d9ecddcddb992 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Sat, 18 Jan 2025 01:39:01 +1100 Subject: [PATCH] Fix use of pipe in tests/run-make/broken-pipe-no-ice/rmake.rs Signed-off-by: Jiahao XU --- tests/run-make/broken-pipe-no-ice/rmake.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-make/broken-pipe-no-ice/rmake.rs b/tests/run-make/broken-pipe-no-ice/rmake.rs index 378c3289cb7bc..54d13b62f4a0e 100644 --- a/tests/run-make/broken-pipe-no-ice/rmake.rs +++ b/tests/run-make/broken-pipe-no-ice/rmake.rs @@ -25,7 +25,7 @@ enum Binary { } fn check_broken_pipe_handled_gracefully(bin: Binary, mut cmd: Command) { - let (reader, writer) = std::pipe::pipe().unwrap(); + let (reader, writer) = std::io::pipe().unwrap(); drop(reader); // close read-end cmd.stdout(writer).stderr(Stdio::piped());