Skip to content

Commit

Permalink
Only set no_std when built without the std feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Nov 26, 2023
1 parent 4670feb commit bcbbdbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![allow(clippy::needless_return, clippy::unreadable_literal)]
#![no_std]
#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(not(feature = "std"))]
#[macro_use]
Expand Down

0 comments on commit bcbbdbe

Please sign in to comment.