Closed rmsc closed 3 years ago
Attempted to just copy the suggested #[cfg_attr(not(feature = "std"), no_std)] to my lib.rs, but it didn't work. Turned out a ! was missing after the #.
#[cfg_attr(not(feature = "std"), no_std)]
lib.rs
!
#
Thanks! :)
Attempted to just copy the suggested
#[cfg_attr(not(feature = "std"), no_std)]
to mylib.rs
, but it didn't work. Turned out a!
was missing after the#
.