From 597282bc8d301a373738f35e7e080fdda082dbc4 Mon Sep 17 00:00:00 2001 From: yvt Date: Tue, 29 Mar 2022 20:12:16 +0900 Subject: [PATCH] refactor: remove `#![feature(const_ptr_offset)]` The `const_ptr_offset` feature was stabilized by . --- src/r3_core/src/lib.rs | 1 - src/r3_kernel/src/lib.rs | 1 - src/r3_port_arm/src/lib.rs | 1 - src/r3_port_riscv_test_driver/src/main.rs | 1 - 4 files changed, 4 deletions(-) diff --git a/src/r3_core/src/lib.rs b/src/r3_core/src/lib.rs index 8abc6e5c3e..eb1cc196e7 100644 --- a/src/r3_core/src/lib.rs +++ b/src/r3_core/src/lib.rs @@ -25,7 +25,6 @@ #![feature(const_result_drop)] #![feature(const_slice_index)] #![feature(const_option_ext)] -#![feature(const_ptr_offset)] #![feature(const_trait_impl)] #![feature(const_ptr_write)] #![feature(core_intrinsics)] diff --git a/src/r3_kernel/src/lib.rs b/src/r3_kernel/src/lib.rs index 6b3118a14d..f27ad1974a 100644 --- a/src/r3_kernel/src/lib.rs +++ b/src/r3_kernel/src/lib.rs @@ -11,7 +11,6 @@ #![feature(maybe_uninit_slice)] #![feature(const_slice_index)] #![feature(const_option_ext)] -#![feature(const_ptr_offset)] #![feature(const_trait_impl)] #![feature(const_ptr_write)] #![feature(core_intrinsics)] diff --git a/src/r3_port_arm/src/lib.rs b/src/r3_port_arm/src/lib.rs index d3d6023818..27721dad45 100644 --- a/src/r3_port_arm/src/lib.rs +++ b/src/r3_port_arm/src/lib.rs @@ -1,6 +1,5 @@ #![feature(const_ptr_offset_from)] #![feature(const_refs_to_cell)] -#![feature(const_ptr_offset)] #![feature(const_trait_impl)] #![feature(naked_functions)] #![feature(const_mut_refs)] diff --git a/src/r3_port_riscv_test_driver/src/main.rs b/src/r3_port_riscv_test_driver/src/main.rs index 66af0a70b8..480b20d10e 100644 --- a/src/r3_port_riscv_test_driver/src/main.rs +++ b/src/r3_port_riscv_test_driver/src/main.rs @@ -1,6 +1,5 @@ #![feature(const_refs_to_cell)] #![feature(const_trait_impl)] -#![feature(const_ptr_offset)] #![feature(naked_functions)] #![feature(const_mut_refs)] #![feature(decl_macro)]