-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Stabilize anonymous_pipe
#135822
base: master
Are you sure you want to change the base?
Stabilize anonymous_pipe
#135822
Conversation
Diff for the three commits unique to this PR: /~https://github.com/rust-lang/rust/pull/135822/files/ad28cbb423b5ab203a502ecee30d630e54ea3498..58154046a31c9af0ea7cd3131e31f7bbb470bb74. |
CC @NobodyXu |
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.
Thank you!
I'm so happy that this is getting stabilised 🎉
This comment has been minimized.
This comment has been minimized.
42584e1
to
aba3017
Compare
This comment has been minimized.
This comment has been minimized.
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.
The changes here look good to me, though I'd like to see another change before stabilization:
Currently, things like the Stdio: From<PipeWriter>
implementations live in sys::
which IMHO is really confusing and dangerous (because people will forget to add these implementations when porting std
). Could you move all the public trait implementations to io::pipe
(and os::_::pipe
for the platform-specific implementations)?
aba3017
to
887fb7f
Compare
The Miri subtree was changed cc @rust-lang/miri |
☔ The latest upstream changes (presumably #136070) made this pull request unmergeable. Please resolve the merge conflicts. |
Also create a section "Platform-specific behavior", don't hide required imports for code examples.
887fb7f
to
604faa6
Compare
This comment has been minimized.
This comment has been minimized.
Also get rid of the now mostly-empty `std::sys::anonymous_pipe` module. It basically just unwrapped the `AnonPipe` abstraction from `std::sys::pipe`.
5815404
to
0778f24
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
Hi @tbu- If you are busy and don't have time to continue this, I can open separate PRs to stablise annoynous_pipe and do the refactoring |
Closes #127154.
Based on top of #135635 to avoid conflicts.