From b8f27b73adb1f90532e112d257edd2036d48b191 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Thu, 29 Jan 2026 23:05:32 +0000 Subject: [PATCH] chore: fix unused parallel trie const without std (#21610) --- crates/trie/sparse/src/state.rs | 1 + 1 file changed, 1 insertion(+) 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.