-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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 RFCT-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(const_path_separators)]
This is a tracking issue for making platform-specific path separator information available in a const context. Currently the main separator is available via std::path::MAIN_SEPARATOR, but secondary separators, if any, are not available at compile time.
Public API
// std::path
/// was pub fn
pub const fn is_separator(c: char) -> bool;
/// supplements MAIN_SEPARATOR
pub const SEPARATORS: &[char];
/// supplements MAIN_SEPARATOR_STR
pub const SEPARATORS_STR: &[&str];Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- ACP: Const path separators libs-team#744
- Implementation: Update path separators to be available in const context #153196
- 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 RFCT-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.