Repository navigation
Tracking Issue for #![feature(const_io_structs)] #78812
Copy link
Copy link
Closed
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)A-ioArea: `std::io` (note: `std::fs`, `std::net`, `std::path` are A-filesystem, A-net, A-path)Area: `std::io` (note: `std::fs`, `std::net`, `std::path` are A-filesystem, A-net, A-path)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 RFCI-libs-radarLibs issues that are tracked on the team's radar.Libs issues that are tracked on the team's radar.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]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.
Description
This is a tracking issue for #![feature(const_io_structs)]
New const functions are:
io::Cursor::newio::Cursor::get_refio::Cursor::positionio::emptyio::repeatio::sink
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
- Implementation (Make some std::io functions
const#78811) - FCP
- Stabilization PR
Reacted by José Luis Cruz
Metadata
Metadata
Assignees
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)A-ioArea: `std::io` (note: `std::fs`, `std::net`, `std::path` are A-filesystem, A-net, A-path)Area: `std::io` (note: `std::fs`, `std::net`, `std::path` are A-filesystem, A-net, A-path)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 RFCI-libs-radarLibs issues that are tracked on the team's radar.Libs issues that are tracked on the team's radar.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]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.
Activity
Rollup merge of rust-lang#78811 - a1phyr:const_io_structs, r=dtolnay
Rollup merge of rust-lang#78811 - a1phyr:const_io_structs, r=dtolnay
Rollup merge of rust-lang#78811 - a1phyr:const_io_structs, r=dtolnay
Rollup merge of rust-lang#78811 - a1phyr:const_io_structs, r=dtolnay
Rollup merge of rust-lang#78811 - a1phyr:const_io_structs, r=dtolnay
jhpratt commentedon Apr 20, 2021
Are there any blockers for these? They appear to all have straightforward implementations that should work on stable.
CC @dtolnay who r+'d the original PR
Stebalien commentedon Aug 18, 2023
Hey, I'd love to have this if we can make it stable. This would make it possible to, e.g., create "global" spooled temporary files without
lazy_static:dtolnay commentedon Apr 5, 2024
@rust-lang/libs-api:
@rfcbot fcp merge
constfor the following already-stable functions:rfcbot commentedon Apr 5, 2024
Team member @dtolnay has proposed to merge this. The next step is review by the rest of the tagged team members:
No concerns currently listed.
Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!
See this document for info about what commands tagged team members can give me.
3 remaining items
rfcbot commentedon Apr 6, 2024
🔔 This is now entering its final comment period, as per the review above. 🔔
oli-obk commentedon Apr 6, 2024
All of these lgtm from a @rust-lang/wg-const-eval perspective. they are just trivial accessors or constructor funcions
rfcbot commentedon Apr 16, 2024
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.
Rollup merge of rust-lang#124049 - slanterns:const_io_structs_stabili…
Rollup merge of rust-lang#124049 - slanterns:const_io_structs_stabili…
Rollup merge of rust-lang#124049 - slanterns:const_io_structs_stabili…
Rollup merge of rust-lang#124049 - slanterns:const_io_structs_stabili…
Unrolled build for rust-lang#124049
Rollup merge of #124049 - slanterns:const_io_structs_stabilize, r=jhp…