From eb4411bc979bb1f10e5045ddfdeef213789cc063 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sun, 27 Mar 2022 20:39:12 +0300 Subject: [PATCH] =?UTF-8?q?fix(rustc):=20=F0=9F=90=9B=20stabilise=20const?= =?UTF-8?q?=5Ffn=5Ffn=5Fptr=5Fbasics?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stable since Rust 1.61.0 --- README.md | 4 +++- machine/src/lib.rs | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c56f34f..874b782 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,9 @@ Vesper has been influenced by the kernels in L4 family, notably seL4. Fawn and N ## Build instructions -Use at least rustc nightly 2020-09-30 with cargo nightly of the same or later date. It adds support for `cargo build --build-std` feature (since 2020-07-15) and support for compiler_builtins memory operations ([since 2020-09-30](https://github.com/rust-lang/rust/pull/77284)). +MSRV: 1.61.0 + +We require `cargo build --build-std` feature (since 2020-07-15), compiler_builtins memory operations ([since 2020-09-30](https://github.com/rust-lang/rust/pull/77284)) and `const_fn_fn_ptr_basics` feature (stable since Rust 1.61.0). * Install tools: `cargo install just cargo-make`. * Install qemu (at least version 4.1.1): `brew install qemu`. diff --git a/machine/src/lib.rs b/machine/src/lib.rs index 02c1b2d..c4b38a7 100644 --- a/machine/src/lib.rs +++ b/machine/src/lib.rs @@ -3,7 +3,6 @@ #![feature(decl_macro)] #![feature(allocator_api)] #![feature(format_args_nl)] -#![feature(const_fn_fn_ptr_basics)] #![feature(nonnull_slice_from_raw_parts)] #![feature(custom_test_frameworks)] #![test_runner(crate::tests::test_runner)]