diff options
author | Daniel Schadt <kingdread@gmx.de> | 2025-08-16 20:56:11 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2025-08-16 20:56:11 +0200 |
commit | 48c6cebb87b23eb3f34b59da0dcced9f4d4af1c2 (patch) | |
tree | d199532f900e3ec373fd3b2eefff8a7dee8318d1 | |
parent | 6bd93d13bf6fcc64c8671c938d0e719f8c83e673 (diff) | |
download | zears-48c6cebb87b23eb3f34b59da0dcced9f4d4af1c2.tar.gz zears-48c6cebb87b23eb3f34b59da0dcced9f4d4af1c2.tar.bz2 zears-48c6cebb87b23eb3f34b59da0dcced9f4d4af1c2.zip |
disable tests in no_std build
We should test there, but for convenience, the tests currently rely on
std being there (mostly because of Vec allocations, also transitively
via hex).
Since the actual code doesn't change between std and no_std, I guess
we're fine for now with not testing the no_std version.
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -891,7 +891,7 @@ fn split_key(key: &Key) -> (Block, Block, Block) { ) } -#[cfg(test)] +#[cfg(all(test, feature = "std"))] mod test { use super::*; |