From 8ad347eb366e48aec30e05f923f7cb0fffa6fe44 Mon Sep 17 00:00:00 2001 From: "Jason.Huang" Date: Mon, 3 Jun 2024 17:54:43 +0800 Subject: [PATCH] remove #![feature(mutex_unlock)] https://github.com/rust-lang/rust/issues/81872 --- plonky2/src/lib.rs | 1 - rust-toolchain.toml | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/plonky2/src/lib.rs b/plonky2/src/lib.rs index f47db8fe26..3bc266a9f5 100644 --- a/plonky2/src/lib.rs +++ b/plonky2/src/lib.rs @@ -3,7 +3,6 @@ #![deny(rustdoc::broken_intra_doc_links)] #![deny(missing_debug_implementations)] #![cfg_attr(not(feature = "std"), no_std)] -#![feature(mutex_unlock)] // #[cfg(not(feature = "std"))] pub extern crate alloc; diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000000..e0a216c974 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "nightly-2024-01-16" +components = [] +targets = [] +profile = "default"