Tracking Issue for const {OsString, PathBuf}::new (original) (raw)
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 and PathBuf::new unstably const #141467
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.