-
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
Tracking Issue for anonymous pipe API #127154
Comments
You might want to fix the typo in the title and feature name - it's an anonymous pipe, not an annoymous pipe. |
Thanks! I've fixed the typo in this issue and the linked PR. |
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154 try-job: x86_64-msvc try-job: i686-mingw
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154 try-job: x86_64-msvc try-job: i686-mingw
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154 try-job: x86_64-msvc try-job: i686-mingw
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154 try-job: x86_64-msvc try-job: i686-mingw
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154 try-job: x86_64-msvc try-job: i686-mingw
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154 try-job: x86_64-msvc try-job: i686-mingw
Initial implementation of anonymous_pipe API ACP completed in rust-lang/libs-team#375 Tracking issue: rust-lang#127154 try-job: x86_64-msvc try-job: i686-mingw
I think we can now add specialisation to |
…viper Enable `std::io::copy` specialisation for `std::pipe::{PipeReader, PipeWriter}` Enable `std::io::copy` specialisation on unix for the newly added anonymous pipe API, tracking issue rust-lang#127154
…viper Enable `std::io::copy` specialisation for `std::pipe::{PipeReader, PipeWriter}` Enable `std::io::copy` specialisation on unix for the newly added anonymous pipe API, tracking issue rust-lang#127154
Rollup merge of rust-lang#128303 - NobodyXu:specialise-for-pipe, r=cuviper Enable `std::io::copy` specialisation for `std::pipe::{PipeReader, PipeWriter}` Enable `std::io::copy` specialisation on unix for the newly added anonymous pipe API, tracking issue rust-lang#127154
I'm thinking about a new method for checked conversion from I think it would be quite helpful for jobserver-rs |
Currently the documentation for this module is very bare-bones, quite far from the depth and quality we are used to in other parts of the standard library. There's not even a single example. This should be resolved before stabilization. |
I find that creating a new module for these three symbols ( |
I don't have a particular strong opinion on this honestly, if t/libs-api thinks that's better I am willing to change that |
No strong preference either. I don't think there's any problem with small modules, but I'd also be fine with merging it into @rustbot label +I-libs-api-nominated |
We discussed this in the library api meeting. There were not a lot of strong opinions. The consensus in the meeting was to put it in the std::io module. One of the arguments was that |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
…iplett Move `std::pipe::*` into `std::io` Resolve concern from final comment period rust-lang#127154 (comment)
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)
My bad, I overlooked them... |
https://doc.rust-lang.org/std/os/fd/struct.OwnedFd.html#impl-From%3COwnedFd%3E-for-File ? Or do you mean something else? |
Oh dang, sorry, I totally overlooked that. Nevermind! |
Improve and expand documentation of pipes - Reference UNIX, not just Linux - Simplify some of the language - Don't imply that pipes *only* work across multiple processes; instead, *suggest* that they're typically used across two or more separate processes. - Specify that portable applications cannot use multiple readers or multiple writers for messages larger than a byte, due to potential interleaving. Tracking issue for anonymous pipes: rust-lang#127154
Rollup merge of rust-lang#134373 - joshtriplett:pipe-docs, r=joboet Improve and expand documentation of pipes - Reference UNIX, not just Linux - Simplify some of the language - Don't imply that pipes *only* work across multiple processes; instead, *suggest* that they're typically used across two or more separate processes. - Specify that portable applications cannot use multiple readers or multiple writers for messages larger than a byte, due to potential interleaving. Tracking issue for anonymous pipes: rust-lang#127154
This is a tracking issue for the ACP rust-lang/libs-team#375 .
The feature gate for the issue is
#![feature(anonymous_pipe)]
.Steps
std::io::copy
specialisation Enablestd::io::copy
specialisation forstd::pipe::{PipeReader, PipeWriter}
#128303std::io
Movestd::pipe::*
intostd::io
#135583anonymous_pipe
#135822 (see instructions on rustc-dev-guide)Implementation history
std::io::copy
specialisation forstd::pipe::{PipeReader, PipeWriter}
#128303The text was updated successfully, but these errors were encountered: