Merge pull request #1630 from jamwaffles/fix-embassy-time-std

Enable `critical-section/std` when using `std` feature of `embassy-time`
This commit is contained in:
Dario Nieuwenhuis 2023-07-08 16:25:58 +00:00 committed by GitHub
commit 37c103b5f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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