rust/library/core
Trevor Gross 5e5f3341e3 Stabilize const_mem_zeroed
Make `core::mem::zeroed` const stable. Newly stable API:

    // core::mem
    pub const unsafe fn zeroed<T>() -> T;

This is stabilized with `const_maybe_uninit_zeroed` since it is a simple
wrapper.

In order to make this possible, intrinsics `assert_zero_valid` was made
const stable under `const_assert_type2`.
`assert_mem_uninitialized_valid` was also made const stable since it is
under the same gate.
2023-11-04 15:27:29 -04:00
..
benches fix 2023-07-23 09:58:31 +00:00
src Stabilize const_mem_zeroed 2023-11-04 15:27:29 -04:00
tests Stabilize const_maybe_uninit_zeroed 2023-11-04 15:27:25 -04:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00