-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Tracking issue for calling standard library const fns #46038
Copy link
Copy link
Closed
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.In the final comment period and will be merged soon unless new substantive objections are raised.
Description
Metadata
Metadata
Assignees
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.In the final comment period and will be merged soon unless new substantive objections are raised.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The functions below in the standard library are
const fnwith individual feature gates for calling them in constant expressions. This issue is tracking the stabilization of such calls.CC #24111, the super-set feature which also includes defining new
const fnitems.std::sync::Once::newcore::cell::Cell::newcore::cell::RefCell::newcore::cell::UnsafeCell::newcore::sync::AtomicBool::newcore::sync::AtomicPtr::newcore::sync::Atomic$IntegerType::newcore::mem::size_ofcore::mem::align_ofcore::ptr::nullcore::ptr::null_mut<$IntegerType>::max_value<$IntegerType>::min_valueItems in
core::are also re-exported instd::.