aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/Cargo.toml
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-11-14 22:32:48 +0100
committerDario Nieuwenhuis <[email protected]>2023-11-15 18:43:27 +0100
commitbef9b7a8539c3dddb1cf6ab46db161f1ca56b1a1 (patch)
tree6d15736eec0029c13093bee120bd2189aa9537ac /embassy-executor/Cargo.toml
parent50a983fd9b8f10fa5153757593e9f8cfccc902ac (diff)
executor: remove atomic-polyfill.
Diffstat (limited to 'embassy-executor/Cargo.toml')
-rw-r--r--embassy-executor/Cargo.toml7
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
34arch-std = ["_arch", "critical-section/std"] 34arch-std = ["_arch", "critical-section/std"]
35arch-cortex-m = ["_arch", "dep:cortex-m"] 35arch-cortex-m = ["_arch", "dep:cortex-m"]
36arch-xtensa = ["_arch"] 36arch-xtensa = ["_arch"]
37arch-riscv32 = ["_arch"] 37arch-riscv32 = ["_arch", "dep:portable-atomic"]
38arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] 38arch-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
60embassy-macros = { version = "0.2.1", path = "../embassy-macros" } 60embassy-macros = { version = "0.2.1", path = "../embassy-macros" }
61embassy-time = { version = "0.1.5", path = "../embassy-time", optional = true} 61embassy-time = { version = "0.1.5", path = "../embassy-time", optional = true}
62atomic-polyfill = "1.0.1"
63critical-section = "1.1" 62critical-section = "1.1"
64 63
64# needed for riscv
65# remove when https://github.com/rust-lang/rust/pull/114499 is merged
66portable-atomic = { version = "1.5", optional = true }
67
65# arch-cortex-m dependencies 68# arch-cortex-m dependencies
66cortex-m = { version = "0.7.6", optional = true } 69cortex-m = { version = "0.7.6", optional = true }
67 70