diff options
| author | Dániel Buga <[email protected]> | 2025-04-06 22:11:21 +0200 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2025-04-06 22:43:32 +0200 |
| commit | c04b4339919a5b6fd18763554096f84778df79c3 (patch) | |
| tree | f3e194cb87cb405852cfe867a2b8fdc8ba0938fe | |
| parent | 518c961b11362fc8bd398382b3e7d1ed369956be (diff) | |
embassy-sync, executor/wasm: don't select critical-section impl for std
| -rw-r--r-- | embassy-executor/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-sync/Cargo.toml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 0a2dfaa6a..8d7cf715f 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -76,7 +76,7 @@ arch-cortex-m = ["_arch", "dep:cortex-m"] | |||
| 76 | ## RISC-V 32 | 76 | ## RISC-V 32 |
| 77 | arch-riscv32 = ["_arch"] | 77 | arch-riscv32 = ["_arch"] |
| 78 | ## WASM | 78 | ## WASM |
| 79 | arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys", "critical-section/std"] | 79 | arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] |
| 80 | ## AVR | 80 | ## AVR |
| 81 | arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"] | 81 | arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"] |
| 82 | ## spin (architecture agnostic; never sleeps) | 82 | ## spin (architecture agnostic; never sleeps) |
diff --git a/embassy-sync/Cargo.toml b/embassy-sync/Cargo.toml index 4430f1956..92ee38ed9 100644 --- a/embassy-sync/Cargo.toml +++ b/embassy-sync/Cargo.toml | |||
| @@ -20,7 +20,7 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-sync/ | |||
| 20 | target = "thumbv7em-none-eabi" | 20 | target = "thumbv7em-none-eabi" |
| 21 | 21 | ||
| 22 | [features] | 22 | [features] |
| 23 | std = ["critical-section/std"] | 23 | std = [] |
| 24 | turbowakers = [] | 24 | turbowakers = [] |
| 25 | 25 | ||
| 26 | [dependencies] | 26 | [dependencies] |
