aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
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"]