Skip to content

Commit

Permalink
Fix lib test
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Nov 6, 2024
1 parent 023a535 commit 10a279a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(not(feature = "std"))]
#[macro_use]
extern crate alloc;

#[cfg(not(feature = "std"))]
use alloc::{boxed::Box, string::ToString as _, vec::Vec};

use derive_more::{
Add, AddAssign, Binary, BitAnd, BitOr, BitXor, Constructor, Deref, DerefMut,
Display, Div, From, FromStr, Index, IndexMut, Into, IntoIterator, Mul, MulAssign,
Expand Down

0 comments on commit 10a279a

Please sign in to comment.