From 7004b095c346e1a18d30f0f96227cdfeced05e6c Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Fri, 2 Sep 2022 15:27:15 +0200 Subject: [PATCH] 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. --- embassy-executor/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 409a341f0..fa3d0b2b6 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml @@ -22,7 +22,7 @@ flavors = [ [features] default = [] -std = ["embassy-macros/std"] +std = ["embassy-macros/std", "critical-section/std"] wasm = ["dep:wasm-bindgen", "dep:js-sys", "embassy-macros/wasm"] # Enable nightly-only features