aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2022-12-14 21:26:40 +0100
committerEmil Fresk <emil.fresk@gmail.com>2022-12-14 21:28:29 +0100
commitd6edeb6a64077df2161bf55d5abdba536799885c (patch)
tree535261445044d5d04119f0ca6e55dbbef3c896f6 /Cargo.toml
parent9afb1f888f272a29a0bc525809a15570f8c93dc6 (diff)
Fix CI error caused by `critical-section` 0.2.8
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 922385c..61f8e56 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"]