-
- Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-anonymous_pipe`#![feature(anonymous_pipe)]``#![feature(anonymous_pipe)]`T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Milestone
Description
This is a tracking issue for the ACP rust-lang/libs-team#375 .
The feature gate for the issue is #![feature(anonymous_pipe)].
// std::pipe fn pipe() -> io::Result<(PipeReader, PipeWriter)>; struct PipeReader {...} struct PipeWriter {...} impl PipeReader { fn try_clone(&self) -> io::Result<Self>; } impl PipeWriter { fn try_clone(&self) -> io::Result<Self>; } impl Read for &PipeReader impl Read for PipeReader impl Debug for PipeReader impl From<PipeReader> for Stdio impl Write for &PipeWriter impl Write for PipeWriter impl Debug for PipeWriter impl From<PipeWriter> for Stdio // unix { impl AsFd for PipeReader impl AsRawFd for PipeReader impl FromRawFd for PipeReader impl IntoRawFd for PipeReader impl From<PipeReader> for OwnedFd impl From<OwnedFd> for PipeReader impl AsFd for PipeWriter impl AsRawFd for PipeWriter impl FromRawFd for PipeWriter impl IntoRawFd for PipeWriter impl From<PipeWriter> for OwnedFd impl From<OwnedFd> for PipeWriter // } // windows { impl AsHandle for PipeReader impl AsRawHandle for PipeReader impl FromRawHandle for PipeReader impl IntoRawHandle for PipeReader impl From<PipeReader> for OwnedHandle impl From<OwnedHandle> for PipeReader impl AsHandle for PipeWriter impl AsRawHandle for PipeWriter impl FromRawHandle for PipeWriter impl IntoRawHandle for PipeWriter impl From<PipeWriter> for OwnedHandle impl From<OwnedHandle> for PipeWriter // }Steps
- Implement the ACP Initial implementation of anonymous_pipe API #127153
- Enable
std::io::copyspecialisation Enablestd::io::copyspecialisation forstd::pipe::{PipeReader, PipeWriter}#128303 - Adjust documentation Add documentation for anonymous pipe module #133986 (see instructions on rustc-dev-guide)
- Move pipe API into
std::ioMovestd::pipe::*intostd::io#135583 - Stabilization PR Stabilize
anonymous_pipe#135822 (see instructions on rustc-dev-guide)
Implementation history
nwtgck, joseluis, ClementNerma, zopsicle, MaxVerevkin and 9 more
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-anonymous_pipe`#![feature(anonymous_pipe)]``#![feature(anonymous_pipe)]`T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.