From 3867f05d8123001fae779646744404281bdf240e Mon Sep 17 00:00:00 2001 From: yvt Date: Thu, 10 Nov 2022 20:31:22 +0900 Subject: [PATCH] refactor(core,port_arm,port_arm_m): remove `#![feature(const_ptr_offset_from)]` The `const_ptr_offset_from` feature was stabilized by [rust-lang/rust#96240][1]. [1]: https://github.com/rust-lang/rust/pull/96240 --- src/r3_core/src/lib.rs | 1 - src/r3_port_arm/src/lib.rs | 1 - src/r3_port_arm_m/src/lib.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/r3_core/src/lib.rs b/src/r3_core/src/lib.rs index 4ce69327dc..ecad86642e 100644 --- a/src/r3_core/src/lib.rs +++ b/src/r3_core/src/lib.rs @@ -16,7 +16,6 @@ #![feature(const_slice_first_last)] #![feature(cfg_target_has_atomic)] // `#[cfg(target_has_atomic_load_store)]` #![feature(const_cell_into_inner)] -#![feature(const_ptr_offset_from)] #![feature(type_alias_impl_trait)] #![feature(const_slice_ptr_len)] #![feature(exhaustive_patterns)] // `let Ok(()) = Ok::<(), !>(())` diff --git a/src/r3_port_arm/src/lib.rs b/src/r3_port_arm/src/lib.rs index 74e8a181c3..60107bbb51 100644 --- a/src/r3_port_arm/src/lib.rs +++ b/src/r3_port_arm/src/lib.rs @@ -1,4 +1,3 @@ -#![feature(const_ptr_offset_from)] #![feature(const_refs_to_cell)] #![feature(generic_arg_infer)] #![feature(const_trait_impl)] diff --git a/src/r3_port_arm_m/src/lib.rs b/src/r3_port_arm_m/src/lib.rs index c72401c3cd..34f81d6a75 100644 --- a/src/r3_port_arm_m/src/lib.rs +++ b/src/r3_port_arm_m/src/lib.rs @@ -1,4 +1,3 @@ -#![feature(const_ptr_offset_from)] #![feature(generic_const_exprs)] #![feature(const_refs_to_cell)] #![feature(const_trait_impl)]