aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/command.rs
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 /xtask/src/command.rs
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 'xtask/src/command.rs')
-rw-r--r--xtask/src/command.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/xtask/src/command.rs b/xtask/src/command.rs
index 2f719bf..100888c 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]);