From 124c01deb2fd17fdf0967d5bcfc2abf19e8047b8 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 17 Sep 2022 05:29:27 +0200 Subject: [PATCH] Fix features. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1019fa4..f44bc4c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -336,11 +336,11 @@ extern crate alloc; #[path = "imp_cs.rs"] mod imp; -#[cfg(all(feature = "std", feature = "parking_lot", not(feature = "critical-section")))] +#[cfg(all(feature = "std", feature = "parking_lot"))] #[path = "imp_pl.rs"] mod imp; -#[cfg(all(feature = "std", not(feature = "parking_lot"), not(feature = "critical-section")))] +#[cfg(all(feature = "std", not(feature = "parking_lot")))] #[path = "imp_std.rs"] mod imp;