diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-15 22:19:13 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-04-16 13:08:46 +0200 |
| commit | 1c84ccf6e4169b4b45f0e22e709e4265a10324a5 (patch) | |
| tree | d192d3915f52b9168de9c140dca3c459dc18e5fc /xtask/src/command.rs | |
| parent | d838286de679a1ac35ea79999816418cd02b7259 (diff) | |
Fix running of tests
Diffstat (limited to 'xtask/src/command.rs')
| -rw-r--r-- | xtask/src/command.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xtask/src/command.rs b/xtask/src/command.rs index a45cb8a..187a3dd 100644 --- a/xtask/src/command.rs +++ b/xtask/src/command.rs @@ -593,6 +593,11 @@ impl<'a> CargoCommand<'a> { if let Some(cargoarg) = cargoarg { args.extend_from_slice(&[cargoarg]); } + + // We need to be in the `rtic` directory to pick up + // the correct .cargo/config.toml file + args.extend_from_slice(&["-Z", "unstable-options", "-C", "rtic"]); + args.extend_from_slice(&[ self.command(), "--example", @@ -856,7 +861,7 @@ pub fn handle_results(globals: &Globals, results: Vec<FinalRunResult>) -> Result if globals.verbose > 0 { info!("✅ Success: {cmd}{path}\n {}", cmd.as_cmd_string()); } else { - info!("✅ Success:{cmd}{path}"); + info!("✅ Success: {cmd}{path}"); } }); |
