mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
Fix CI error caused by critical-section 0.2.8
This commit is contained in:
parent
9afb1f888f
commit
d6edeb6a64
3 changed files with 17 additions and 1 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue