-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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.
Description
Feature gate: #![feature(stdio_fd_consts)]
This is a tracking issue for BorrowedFd<'static> constants for stdin, stdout and stderr.
This feature enables I/O-safe access to the stdio file descriptors without touching the higher-level std::io handles and their locks.
Public API
// std::os::fd
const STDIN: BorrowedFd<'static>;
const STDOUT: BorrowedFd<'static>;
const STDERR: BorrowedFd<'static>;Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- ACP: Guarantee direct access to std{in,out,err} file descriptors as BorrowedFd<'static> libs-team#719
- Implementation: Implement stdio FD constants #152071
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Reactions are currently unavailable
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.