Remove now obsolete const_if feature

pull/67/head
Andre Richter 4 years ago
parent 4e54cc0c93
commit 9cc0f4a5ef
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -2568,7 +2568,7 @@ diff -uNr 13_integrated_testing/src/lib.rs 14_exceptions_part2_peripheral_IRQs/s
//! [timer interface]: ../libkernel/time/interface/trait.TimeManager.html
//!
//! # Code organization and architecture
@@ -107,8 +112,12 @@
@@ -107,8 +112,11 @@
//! - `crate::bsp::memory::*`
#![allow(incomplete_features)]
@ -2576,13 +2576,12 @@ diff -uNr 13_integrated_testing/src/lib.rs 14_exceptions_part2_peripheral_IRQs/s
+#![feature(const_fn)]
#![feature(const_generics)]
-#![feature(custom_inner_attributes)]
+#![feature(const_if_match)]
+#![feature(const_panic)]
+#![feature(core_intrinsics)]
#![feature(format_args_nl)]
#![feature(global_asm)]
#![feature(linkage)]
@@ -137,6 +146,7 @@
@@ -137,6 +145,7 @@
pub mod exception;
pub mod memory;
pub mod print;

@ -115,7 +115,6 @@
#![feature(asm)]
#![feature(const_fn)]
#![feature(const_generics)]
#![feature(const_if_match)]
#![feature(const_panic)]
#![feature(core_intrinsics)]
#![feature(format_args_nl)]

@ -52,8 +52,8 @@ _带上我最诚挚的问候,<br>Andre ([@andre-richter])_
3. 安装正确的`Rust`工具链:
1. 如果你已经安装了一个版本的Rust:
```bash
rustup toolchain add nightly-2020-06-28
rustup default nightly-2020-06-28
rustup toolchain add nightly-2020-06-30
rustup default nightly-2020-06-30
rustup component add llvm-tools-preview
rustup target add aarch64-unknown-none-softfloat
cargo install cargo-binutils
@ -62,7 +62,7 @@ _带上我最诚挚的问候,<br>Andre ([@andre-richter])_
2. 如果你想要全新安装:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
--default-toolchain nightly-2020-06-28 \
--default-toolchain nightly-2020-06-30 \
--component llvm-tools-preview
source $HOME/.cargo/env

@ -68,8 +68,8 @@ other Unix flavors such as **macOS**, but this is only _experimental_.
1. Install a suitable `Rust` toolchain:
1. If you already have a version of Rust installed:
```bash
rustup toolchain add nightly-2020-06-28
rustup default nightly-2020-06-28
rustup toolchain add nightly-2020-06-30
rustup default nightly-2020-06-30
rustup component add llvm-tools-preview
rustup target add aarch64-unknown-none-softfloat
cargo install cargo-binutils
@ -78,7 +78,7 @@ other Unix flavors such as **macOS**, but this is only _experimental_.
2. If you need a fresh install:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
--default-toolchain nightly-2020-06-28 \
--default-toolchain nightly-2020-06-30 \
--component llvm-tools-preview
source $HOME/.cargo/env

Loading…
Cancel
Save