From ae06b513f5f6e83570d9e7497a3cf9e25eae35ae Mon Sep 17 00:00:00 2001 From: maleicacid <4982384+kazuki0824@users.noreply.github.com> Date: Sun, 12 Nov 2023 02:19:39 +0900 Subject: [PATCH] Update lib.rs to print a currently running argv to make it easier to reproduce the situation where a panic happens --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 035cead..6df4bd9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1062,7 +1062,7 @@ impl Default for Version { } fn run(cmd: &mut Command, program: &str) { - println!("running: {:?}", cmd); + eprintln!("running: {:?}", cmd); let status = match cmd.status() { Ok(status) => status, Err(ref e) if e.kind() == ErrorKind::NotFound => {