diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-14 22:32:48 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-11-15 18:43:27 +0100 |
| commit | bef9b7a8539c3dddb1cf6ab46db161f1ca56b1a1 (patch) | |
| tree | 6d15736eec0029c13093bee120bd2189aa9537ac /embassy-executor/Cargo.toml | |
| parent | 50a983fd9b8f10fa5153757593e9f8cfccc902ac (diff) | |
executor: remove atomic-polyfill.
Diffstat (limited to 'embassy-executor/Cargo.toml')
| -rw-r--r-- | embassy-executor/Cargo.toml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index a85c5dffe..4945455d3 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -34,7 +34,7 @@ _arch = [] # some arch was picked | |||
| 34 | arch-std = ["_arch", "critical-section/std"] | 34 | arch-std = ["_arch", "critical-section/std"] |
| 35 | arch-cortex-m = ["_arch", "dep:cortex-m"] | 35 | arch-cortex-m = ["_arch", "dep:cortex-m"] |
| 36 | arch-xtensa = ["_arch"] | 36 | arch-xtensa = ["_arch"] |
| 37 | arch-riscv32 = ["_arch"] | 37 | arch-riscv32 = ["_arch", "dep:portable-atomic"] |
| 38 | arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] | 38 | arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] |
| 39 | 39 | ||
| 40 | # Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs) | 40 | # Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs) |
| @@ -59,9 +59,12 @@ rtos-trace = { version = "0.1.2", optional = true } | |||
| 59 | 59 | ||
| 60 | embassy-macros = { version = "0.2.1", path = "../embassy-macros" } | 60 | embassy-macros = { version = "0.2.1", path = "../embassy-macros" } |
| 61 | embassy-time = { version = "0.1.5", path = "../embassy-time", optional = true} | 61 | embassy-time = { version = "0.1.5", path = "../embassy-time", optional = true} |
| 62 | atomic-polyfill = "1.0.1" | ||
| 63 | critical-section = "1.1" | 62 | critical-section = "1.1" |
| 64 | 63 | ||
| 64 | # needed for riscv | ||
| 65 | # remove when https://github.com/rust-lang/rust/pull/114499 is merged | ||
| 66 | portable-atomic = { version = "1.5", optional = true } | ||
| 67 | |||
| 65 | # arch-cortex-m dependencies | 68 | # arch-cortex-m dependencies |
| 66 | cortex-m = { version = "0.7.6", optional = true } | 69 | cortex-m = { version = "0.7.6", optional = true } |
| 67 | 70 | ||
