Skip to content

Commit 2af4197

Browse files
committed
Fix use of pipe in tests/run-make/broken-pipe-no-ice/rmake.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent 81d70f9 commit 2af4197

File tree

1 file changed

+1
-1
lines changed
  • tests/run-make/broken-pipe-no-ice

1 file changed

+1
-1
lines changed

tests/run-make/broken-pipe-no-ice/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ enum Binary {
2525
}
2626

2727
fn check_broken_pipe_handled_gracefully(bin: Binary, mut cmd: Command) {
28-
let (reader, writer) = std::pipe::pipe().unwrap();
28+
let (reader, writer) = std::io::pipe().unwrap();
2929
drop(reader); // close read-end
3030
cmd.stdout(writer).stderr(Stdio::piped());
3131

0 commit comments

Comments
 (0)