Skip to content

Commit

Permalink
Pass --version when detecting archiver
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored Feb 15, 2025
1 parent 8e226da commit 32665bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3299,6 +3299,7 @@ impl Build {
.filter_map(|infix| {
let target_p = format!("{prefix}{infix}-{tool}");
let status = Command::new(&target_p)
.arg("--version")
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::null())
Expand Down

0 comments on commit 32665bc

Please sign in to comment.