Skip to content

Commit 6d89d61

Browse files
committed
feat: make no_std conditional for testing
Wrap the `#![no_std]` attribute with `cfg_attr(not(test), no_std)` to allow using the standard library when running tests. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
1 parent 25bf5bc commit 6d89d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Licensed under the Apache-2.0 license
22

3-
#![no_std]
3+
#![cfg_attr(not(test), no_std)]
44
pub mod ecdsa;
55
pub mod hace_controller;
66
pub mod hash;

0 commit comments

Comments
 (0)