From c396757919900794081fc6d0ec157471f2fabf26 Mon Sep 17 00:00:00 2001 From: Erin <149203474+erin-desu@users.noreply.github.com> Date: Wed, 5 Jun 2024 23:49:13 +0200 Subject: [PATCH] Fixed no-std builds (#155) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 296683c2..cf5ca331 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ //! //! This is a no_std crate, but still requires the alloc crate. -#![cfg_attr(all(not(test), not(feature = "std"), not(feature = "hashbrown")), no_std)] +#![cfg_attr(all(not(test), not(feature = "std"), feature = "hashbrown"), no_std)] #![allow(dead_code)] #![allow(clippy::style)] #![allow(clippy::complexity)]