-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Tracking Issue for anonymous pipe API #127154
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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. |
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
Did something happen to this experimental api? The example code at https://doc.rust-lang.org/stable/std/pipe/index.html does not seem to compile anymore. |
It has been moved into std::io |
…r=joshtriplett Stablize anonymous pipe Since rust-lang#135822 is staled, I create this PR to stablise anonymous pipe Closes rust-lang#127154
…documentation, r=tgross35 Add documentation for anonymous pipe module Tracking issue: rust-lang#127154 `@NobodyXu` I've been using this feature lately and thought I might contribute with some documentation. I borrowed liberally from [os_pipe](https://docs.rs/os_pipe/latest/os_pipe/) so thanks to `@oconnor663.`
…iplett Move `std::pipe::*` into `std::io` Resolve concern from final comment period rust-lang#127154 (comment)
…<try> Stablize anonymous pipe Since rust-lang#135822 is staled, I create this PR to stablise anonymous pipe Closes rust-lang#127154 try-job: test-various
Rollup merge of rust-lang#137793 - NobodyXu:stablise-annoymous-pipe, r=joshtriplett Stablize anonymous pipe Since rust-lang#135822 is staled, I create this PR to stablise anonymous pipe Closes rust-lang#127154 try-job: test-various
…r=joshtriplett Stablize anonymous pipe Since rust-lang#135822 is staled, I create this PR to stablise anonymous pipe Closes rust-lang#127154 try-job: test-various
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: