Add critical-section/std to std feature

This commit suggests adding critical-section/std to the std feature as
without this a link time error is generated.
This commit is contained in:
Daniel Bevenius 2022-09-02 15:27:15 +02:00
parent 22c32b5d5c
commit 7004b095c3

View File

@ -22,7 +22,7 @@ flavors = [
[features] [features]
default = [] default = []
std = ["embassy-macros/std"] std = ["embassy-macros/std", "critical-section/std"]
wasm = ["dep:wasm-bindgen", "dep:js-sys", "embassy-macros/wasm"] wasm = ["dep:wasm-bindgen", "dep:js-sys", "embassy-macros/wasm"]
# Enable nightly-only features # Enable nightly-only features