Skip to content

Commit

Permalink
fix(core,kernel): replace `#![feature(const_slice_from_raw_parts{ → _…
Browse files Browse the repository at this point in the history
…mut})]`

`from_raw_parts` has been partially stabilized by
[rust-lang/rust#97522][1]. `from_raw_parts_mut` has been split into a
separate feature `const_slice_from_raw_parts_mut`.

[1]: rust-lang/rust#97522
  • Loading branch information
yvt committed Aug 13, 2022
1 parent e5b01e1 commit da74643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/r3_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
#![feature(const_nonnull_slice_from_raw_parts)]
#![feature(const_maybe_uninit_uninit_array)]
#![feature(const_maybe_uninit_assume_init)]
#![feature(const_slice_from_raw_parts_mut)]
#![feature(maybe_uninit_array_assume_init)]
#![feature(const_maybe_uninit_as_mut_ptr)]
#![feature(nonnull_slice_from_raw_parts)]
#![feature(arbitrary_enum_discriminant)]
#![feature(type_changing_struct_update)]
#![feature(const_slice_from_raw_parts)]
#![feature(maybe_uninit_uninit_array)]
#![feature(const_precise_live_drops)]
#![feature(const_raw_ptr_comparison)]
Expand Down
2 changes: 1 addition & 1 deletion src/r3_kernel/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#![feature(const_maybe_uninit_array_assume_init)]
#![feature(const_maybe_uninit_uninit_array)]
#![feature(const_maybe_uninit_assume_init)]
#![feature(const_slice_from_raw_parts_mut)]
#![feature(maybe_uninit_array_assume_init)]
#![feature(const_slice_from_raw_parts)]
#![feature(maybe_uninit_uninit_array)]
#![feature(const_precise_live_drops)]
#![feature(const_raw_ptr_comparison)]
Expand Down

0 comments on commit da74643

Please sign in to comment.