aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
authorSamuel Maier <[email protected]>2024-09-05 11:45:49 +0200
committerSamuel Maier <[email protected]>2024-09-05 11:45:49 +0200
commitdb00f3f5ecbf7f9a8acb340556b8fc6b156736fa (patch)
treebdaf5ea67764d6bac75e51735d8ff0e5de7c59c1 /embassy-executor
parentb277f42c9d681ce3c929858adffcefbdb7adabef (diff)
Enable critical-section/std on wasm
Without that feature one will find import errors on opening the webpage, that are hard to debug. The feature was indirectly enabled in the wasm example, however the reason wasn't documented and thus it was easy to miss.
Diffstat (limited to 'embassy-executor')
-rw-r--r--embassy-executor/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index 5984cc49c..01fa28b88 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -79,7 +79,7 @@ arch-cortex-m = ["_arch", "dep:cortex-m"]
79## RISC-V 32 79## RISC-V 32
80arch-riscv32 = ["_arch"] 80arch-riscv32 = ["_arch"]
81## WASM 81## WASM
82arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] 82arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys", "critical-section/std"]
83## AVR 83## AVR
84arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"] 84arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"]
85 85