Skip to content

Commit

Permalink
Feature std to disable no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKnauth committed Nov 1, 2023
1 parent 7eb038e commit c343a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ libm = { version = "0.2.7", optional = true }
wasi = { version = "0.11.0", default-features = false }

[features]
std = ["alloc"]
alloc = []
derive = ["asr-derive"]
flags = ["bitflags"]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![no_std]
#![cfg_attr(not(feature = "std"), no_std)]
#![warn(
clippy::complexity,
clippy::correctness,
Expand Down

0 comments on commit c343a60

Please sign in to comment.