aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d649dfc..531705c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -891,7 +891,7 @@ fn split_key(key: &Key) -> (Block, Block, Block) {
)
}
-#[cfg(test)]
+#[cfg(all(test, feature = "std"))]
mod test {
use super::*;