diff options
| author | Jiahao XU <Jiahao_XU@outlook.com> | 2025-01-18 01:39:01 +1100 |
|---|---|---|
| committer | Jiahao XU <Jiahao_XU@outlook.com> | 2025-01-18 01:39:01 +1100 |
| commit | 2af4197f424f2c24e4256584383d9ecddcddb992 (patch) | |
| tree | 3d71a0b9bc985b3ab0a1ea4777bf2340d275d113 | |
| parent | 81d70f92ab7e1f242093cf2aed17c1d48eaf1f15 (diff) | |
| download | rust-2af4197f424f2c24e4256584383d9ecddcddb992.tar.gz rust-2af4197f424f2c24e4256584383d9ecddcddb992.zip | |
Fix use of pipe in tests/run-make/broken-pipe-no-ice/rmake.rs
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
| -rw-r--r-- | tests/run-make/broken-pipe-no-ice/rmake.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/broken-pipe-no-ice/rmake.rs b/tests/run-make/broken-pipe-no-ice/rmake.rs index 378c3289cb7..54d13b62f4a 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()); |
