Skip to content

Commit

Permalink
tests: Enable atomic polyfill
Browse files Browse the repository at this point in the history
chrysn committed Jan 26, 2024
1 parent 708f425 commit 152bdc1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ztimer-async/Cargo.toml
Original file line number Diff line number Diff line change
@@ -17,3 +17,8 @@ embassy-executor-riot = { git = "https://gitlab.com/etonomy/riot-module-examples
embassy-executor = "0.5.0" # Not enabling any of its executors: there's the -riot for that
static_cell = "2"

# Actually this is only required on samr21 and other non-atomic platforms to
# make the static_cell work, but for sake of setup simplicity we'll keep this
# enabled everywhere. (A better solution would be to have the RIOT build system
# managed crates provide this dependency on platforms where it is needed).
portable-atomic = { version = "1.6", default-features = false, features = [ "critical-section" ] }

0 comments on commit 152bdc1

Please sign in to comment.