Commit 6d89d61
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
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments