Skip to content

Commit f9ca8b2

Browse files
gate borsh tests on std also, as they depend on both
1 parent 3f82306 commit f9ca8b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/smol_str/tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ mod test_str_ext {
393393
}
394394
}
395395

396-
#[cfg(feature = "borsh")]
396+
#[cfg(all(feature = "borsh", feature = "std"))]
397397
mod borsh_tests {
398398
use borsh::BorshDeserialize;
399399
use smol_str::{SmolStr, ToSmolStr};

0 commit comments

Comments
 (0)