We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8a932 commit f239318Copy full SHA for f239318
tests/common/command_invocation.rs
@@ -1,3 +1,4 @@
1
+use std::fs;
2
use std::path::Path;
3
use std::process::{Command, ExitStatus};
4
@@ -19,9 +20,11 @@ impl<'a> Context<'a> {
19
20
command.arg(param);
21
}
22
let dir = self.dir;
23
+ fs::create_dir_all(dir)?;
24
println!("running `cargo-bisect-rustc {}` in {:?}",
25
self.cli_params.join(" "),
26
dir.display());
27
+ assert!(dir.exists());
28
let output = command.current_dir(dir).output()?;
29
30
let stderr = String::from_utf8_lossy(&output.stderr);
0 commit comments