-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move std::pipe::*
into std::io
#135583
Move std::pipe::*
into std::io
#135583
Conversation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This comment has been minimized.
This comment has been minimized.
r=me once it passes CI. |
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
807d02c
to
81d70f9
Compare
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This PR modifies cc @jieyouxu |
r=me |
@bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#133700 (const-eval: detect more pointers as definitely not-null) - rust-lang#135290 (Encode constraints that hold at all points as logical edges in location-sensitive polonius) - rust-lang#135478 (Run clippy for rustc_codegen_gcc on CI) - rust-lang#135583 (Move `std::pipe::*` into `std::io`) - rust-lang#135612 (Include x scripts in tarballs) - rust-lang#135624 (ci: mirror buildkit image to ghcr) - rust-lang#135661 (Stabilize `float_next_up_down`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#135583 - NobodyXu:move-pipe-to-io, r=joshtriplett Move `std::pipe::*` into `std::io` Resolve concern from final comment period rust-lang#127154 (comment)
@@ -823,3 +823,20 @@ fn try_oom_error() { | |||
let io_err = io::Error::from(reserve_err); | |||
assert_eq!(io::ErrorKind::OutOfMemory, io_err.kind()); | |||
} | |||
|
|||
#[test] | |||
#[cfg(all(windows, unix, not(miri)))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This cfg is never true because it expects a platform that is both windows
and unix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhh damn thanks for spotting this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raised in #135635
Resolve concern from final comment period #127154 (comment)