aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-12-15 21:10:44 +0000
committerGitHub <noreply@github.com>2022-12-15 21:10:44 +0000
commit6c1743b5532a19b0e46a5ea919cd087a33669773 (patch)
tree554eb5b0ba1f05ba558f1ddda1b8e6805f3e9956 /Cargo.toml
parenta79cc083803d126d90d1bb28af61dc6b168a0d41 (diff)
parent10d2a5935684fdf32f06b1cc38481314fce5654e (diff)
Merge #668
668: Docs on RTOS r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
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"]