Skip to content

Commit

Permalink
fix: add #![feature(const_maybe_uninit_uninit_array)]
Browse files Browse the repository at this point in the history
The `const`-ness of `MaybeUninit::uninit_array` has been split into a
separate feature by [rust-lang/rust#96099][1].

[1]: rust-lang/rust#96099
  • Loading branch information
yvt committed Apr 21, 2022
1 parent d0389b2 commit 7954558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/r3_core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![feature(const_fn_floating_point_arithmetic)]
#![feature(const_nonnull_slice_from_raw_parts)]
#![feature(const_maybe_uninit_uninit_array)]
#![feature(const_maybe_uninit_assume_init)]
#![feature(const_maybe_uninit_as_mut_ptr)]
#![feature(nonnull_slice_from_raw_parts)]
Expand Down
1 change: 1 addition & 0 deletions src/r3_kernel/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![feature(const_maybe_uninit_uninit_array)]
#![feature(const_maybe_uninit_assume_init)]
#![feature(const_slice_from_raw_parts)]
#![feature(maybe_uninit_uninit_array)]
Expand Down

0 comments on commit 7954558

Please sign in to comment.