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 --- xtask/src/command.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'xtask/src/command.rs') diff --git a/xtask/src/command.rs b/xtask/src/command.rs index 2f719bf5..100888c0 100644 --- a/xtask/src/command.rs +++ b/xtask/src/command.rs @@ -46,7 +46,15 @@ impl<'a> CargoCommand<'a> { features, mode, } => { - let mut args = vec![self.name(), "--example", example, "--target", target]; + let mut args = vec![ + self.name(), + "--example", + example, + "--target", + target, + "--features", + "test-critical-section", + ]; if let Some(feature_name) = features { args.extend_from_slice(&["--features", feature_name]); -- cgit v1.2.3