-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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 RFCS-tracking-ready-to-stabilizeStatus: This is ready to stabilize; it may need a stabilization report and a PRStatus: This is ready to stabilize; it may need a stabilization report and a PRT-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.
Description
Feature gate: #![feature(const_pathbuf_osstring_new)]
This is a tracking issue for making OsString::new
and PathBuf::new
const
functions.
Public API
impl OsString {
pub const fn new() -> OsString;
}
impl PathBuf {
pub const fn new() -> PathBuf;
}
Steps / History
(Remember to update the S-tracking-*
label when checking boxes.)
- Implementation: make
OsString::new
andPathBuf::new
unstably const #141467Final comment period (FCP)1Stabilization PR: Stabilizeconst_pathbuf_osstring_new
feature #145464To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Unresolved Questions
- None yet.
Footnotes
CathalMullan, stepancheg and joseluis
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-ready-to-stabilizeStatus: This is ready to stabilize; it may need a stabilization report and a PRStatus: This is ready to stabilize; it may need a stabilization report and a PRT-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.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
OsString::new
andPathBuf::new
unstably const #141467Amanieu commentedon Jun 3, 2025
@rfcbot merge
rfcbot commentedon Jun 3, 2025
Team member @Amanieu 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.
rfcbot commentedon Aug 5, 2025
🔔 This is now entering its final comment period, as per the review above. 🔔
rfcbot commentedon Aug 15, 2025
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.
const_pathbuf_osstring_new
feature #145464Rollup merge of rust-lang#145464 - Kivooeo:stabilize-const_pathbuf_os…
Rollup merge of rust-lang#145464 - Kivooeo:stabilize-const_pathbuf_os…
Rollup merge of rust-lang#145464 - Kivooeo:stabilize-const_pathbuf_os…
Unrolled build for #145464
Rollup merge of #145464 - Kivooeo:stabilize-const_pathbuf_osstring_ne…
Rollup merge of rust-lang#145464 - Kivooeo:stabilize-const_pathbuf_os…
Rollup merge of #145464 - Kivooeo:stabilize-const_pathbuf_osstring_ne…