diff --git a/crates/trie/sparse/src/state.rs b/crates/trie/sparse/src/state.rs index e257b5f501..3a52adda3b 100644 --- a/crates/trie/sparse/src/state.rs +++ b/crates/trie/sparse/src/state.rs @@ -994,6 +994,7 @@ where S: SparseTrieTrait + SparseTrieExt + Default + Clone, { /// Minimum number of storage tries before parallel pruning is enabled. + #[cfg(feature = "std")] const PARALLEL_PRUNE_THRESHOLD: usize = 16; /// Returns true if parallelism should be enabled for pruning the given number of tries.