-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issues for unstable language features used by std
#94970
Comments
@rust-lang/lang Can y'all please stabilize this entire list? :D Thaanks! cc @rust-lang/libs |
std
std
|
If we stabilize |
I don't think that is completely realistic. It contains several fallbacks for things that need to be explicitly defined when not using libstd, but call still be defined even when libstd is used. For example the global allocator used when no
Used by https://github.com/rust-lang/portable-simd/tree/master/crates/std_float
Removing probably won't change anything. It would reduce test coverage of full nll mode though as removing it switched libstd to the migration mode that is currently the default. |
Being able to use rustc_layout_scalar_valid_range_start/end would let me save a lot of memory space in Pernosco. |
If |
Stabilizing the |
I don't know if rustc optimizes |
Do not use box syntax in `std` See rust-lang#94970 and rust-lang#49733. About half of the `box` instances in `std` do not even need to allocate, the other half can simply be replaced with `Box::new`. `@rustbot` label +T-libs r? rust-lang/libs
std
uses a lot of unstable language features. Whilecore
will most likely always have to use language features because it defines things that are part of the core of the language, we can strive forstd
to eventually be free of unstable language 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 #94971 for the library features used by
std
.)These are the language features we currently use in
std
: (This does not includecore
oralloc
.)c_unwind
#116088PhantomData
everywhere.The text was updated successfully, but these errors were encountered: