diff options
| author | Daniel Bevenius <[email protected]> | 2022-09-02 15:27:15 +0200 |
|---|---|---|
| committer | Daniel Bevenius <[email protected]> | 2022-09-08 06:03:43 +0200 |
| commit | 7004b095c346e1a18d30f0f96227cdfeced05e6c (patch) | |
| tree | 1f010bcf13b40fdd4d81ef523ea7ea3461ea9915 | |
| parent | 22c32b5d5ccaea49d6cf9a08a88433928c1609d3 (diff) | |
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.
| -rw-r--r-- | embassy-executor/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
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 = [ | |||
| 22 | 22 | ||
| 23 | [features] | 23 | [features] |
| 24 | default = [] | 24 | default = [] |
| 25 | std = ["embassy-macros/std"] | 25 | std = ["embassy-macros/std", "critical-section/std"] |
| 26 | wasm = ["dep:wasm-bindgen", "dep:js-sys", "embassy-macros/wasm"] | 26 | wasm = ["dep:wasm-bindgen", "dep:js-sys", "embassy-macros/wasm"] |
| 27 | 27 | ||
| 28 | # Enable nightly-only features | 28 | # Enable nightly-only features |
