diff --git a/crates/primitives/src/lib.rs b/crates/primitives/src/lib.rs index 7676e1d36c..50e6d35d3f 100644 --- a/crates/primitives/src/lib.rs +++ b/crates/primitives/src/lib.rs @@ -30,7 +30,7 @@ pub use constants::*; pub use env::*; cfg_if::cfg_if! { - if #[cfg(std)] { + if #[cfg(feature = "std")] { pub use std::collections::{hash_map, hash_set, HashMap, HashSet}; use hashbrown as _; } else {