Enable critical-section/std when using std feature of embassy-time

This commit is contained in:
James Waples 2023-07-08 11:20:26 +01:00
parent 758a2c528f
commit 05c524a7db

View File

@ -23,7 +23,7 @@ target = "x86_64-unknown-linux-gnu"
features = ["nightly", "defmt", "unstable-traits", "std"] features = ["nightly", "defmt", "unstable-traits", "std"]
[features] [features]
std = ["tick-hz-1_000_000"] std = ["tick-hz-1_000_000", "critical-section/std"]
wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000"] wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000"]
# Enable nightly-only features # Enable nightly-only features