From 05c524a7db1ee1ecc5397570a5dd00faf4b7316a Mon Sep 17 00:00:00 2001 From: James Waples Date: Sat, 8 Jul 2023 11:20:26 +0100 Subject: [PATCH] Enable `critical-section/std` when using `std` feature of `embassy-time` --- embassy-time/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml index 0ff0e3be..0afb1103 100644 --- a/embassy-time/Cargo.toml +++ b/embassy-time/Cargo.toml @@ -23,7 +23,7 @@ target = "x86_64-unknown-linux-gnu" features = ["nightly", "defmt", "unstable-traits", "std"] [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"] # Enable nightly-only features