fixed compile error

parent 9583b390
...@@ -75,7 +75,7 @@ pub fn exec_path_nocheck(executable: PathBuf) -> Output { ...@@ -75,7 +75,7 @@ pub fn exec_path_nocheck(executable: PathBuf) -> Output {
fn exec_cmd(cmd: Command) -> Output { fn exec_cmd(cmd: Command) -> Output {
let output = exec_cmd_nocheck(cmd); let output = exec_cmd_nocheck(cmd);
if cfg!(debug_assertions) && !output.status.success() { if cfg!(debug_assertions) && !output.status.success() {
println!("{}", String::from_utf8(output.stderr)); println!("{}", String::from_utf8(output.stderr.clone()).unwrap());
} }
assert!(output.status.success()); assert!(output.status.success());
output output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment