embassy-sync, executor/wasm: don't select critical-section impl for std

This commit is contained in:
Dániel Buga 2025-04-06 22:11:21 +02:00
parent 518c961b11
commit c04b433991
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ arch-cortex-m = ["_arch", "dep:cortex-m"]
## RISC-V 32
arch-riscv32 = ["_arch"]
## WASM
arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys", "critical-section/std"]
arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"]
## AVR
arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"]
## spin (architecture agnostic; never sleeps)

View File

@ -20,7 +20,7 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/
target = "thumbv7em-none-eabi"
[features]
std = ["critical-section/std"]
std = []
turbowakers = []
[dependencies]