Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 206d7a2

Browse files
committed
Allow std for testing
1 parent 320ac25 commit 206d7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
//! [SCALE Codec]: https://github.com/paritytech/parity-scale-codec
5151
5252
#![deny(missing_docs)]
53-
#![cfg_attr(not(feature = "std"), no_std)]
53+
#![cfg_attr(not(any(feature = "std", test)), no_std)]
5454

5555
#[cfg(any(test, feature = "arb"))]
5656
mod arb;

0 commit comments

Comments
 (0)