More work on new spawn/executor

This commit is contained in:
Emil Fresk 2023-01-09 21:02:53 +01:00 committed by Henrik Tjäder
parent 1eabb94f04
commit cd790a9428
8 changed files with 43 additions and 108 deletions

View file

@ -70,7 +70,15 @@ impl<'a> CargoCommand<'a> {
features,
mode,
} => {
let mut args = vec!["+nightly", self.name(), "--examples", "--target", target];
let mut args = vec![
"+nightly",
self.name(),
"--examples",
"--target",
target,
"--features",
"test-critical-section",
];
if let Some(feature_name) = features {
args.extend_from_slice(&["--features", feature_name]);