-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Tracking issues for unstable library features used by std #94971
Copy link
Copy link
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-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Activity
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-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
stduses a lot of unstable library features. Whilecorewill most likely always have to use language features, we can strive forstdto eventually be free of both unstable language and unstable library features.Some of these we'll need to stabilize, but some others we might be able to simply remove with some small changes to the code.
(See also #94970 for the language features.)
These are the library features we currently use in
std:is_emptyfunction toExactSizeIterator#35428#![feature(maybe_uninit_slice)]#63569#![feature(mixed_integer_ops)]#87840NonNull<[T]>::slice_from_raw_parts#71941try_reserve: RFC 2116 fallible collection allocation #48043vec_into_raw_parts#65816trait Errorto core:Duration::try_from_secs_{f32, f64}#83400