From d6edeb6a64077df2161bf55d5abdba536799885c Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Wed, 14 Dec 2022 21:26:40 +0100 Subject: Fix CI error caused by `critical-section` 0.2.8 --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Cargo.toml') 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"] -- cgit v1.2.3