-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for StdioExt #150667
Copy link
Copy link
Open
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.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.
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(stdio_swap)]This is a tracking issue for the
std::os::{unix, windows}::io::StdioExtextension traitsthat provide ways to redirect stdio to new file handles.
Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)set,closeandtakemethods libs-team#500Unresolved Questions
essentially
BorrowedHandle<'static>and might be in use by other threads.This can lead to pipes not getting closed, which may be unexpected.
#t-libs > take, close and replace for stdio
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩