Fix CI error caused by critical-section 0.2.8

This commit is contained in:
Emil Fresk 2022-12-14 21:26:40 +01:00
parent 9afb1f888f
commit d6edeb6a64
3 changed files with 17 additions and 1 deletions

View file

@ -70,3 +70,10 @@ overflow-checks = false
[patch.crates-io]
lm3s6965 = { git = "https://github.com/japaric/lm3s6965" }
[features]
test-critical-section = ["cortex-m/critical-section-single-core"]
[[example]]
name = "pool"
required-features = ["test-critical-section"]