Skip to content

Commit

Permalink
Merge pull request #4141 from rust-lang/rustup-2025-01-19
Browse files Browse the repository at this point in the history
Automatic Rustup
  • Loading branch information
RalfJung authored Jan 19, 2025
2 parents c2a3761 + 6bb9822 commit 32c567c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dd333ca66f20edafdda2d9f405ffa1acdc958821
01706e1a34c87656fcbfce198608f4cd2ac6461a
5 changes: 3 additions & 2 deletions tests/pass/shims/pipe.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//@ignore-target: windows

#![feature(anonymous_pipe)]
use std::io::{Read, Write};

use std::io::{Read, Write, pipe};

fn main() {
let (mut ping_rx, mut ping_tx) = std::pipe::pipe().unwrap();
let (mut ping_rx, mut ping_tx) = pipe().unwrap();
ping_tx.write(b"hello").unwrap();
let mut buf: [u8; 5] = [0; 5];
ping_rx.read(&mut buf).unwrap();
Expand Down

0 comments on commit 32c567c

Please sign in to comment.