Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Sep 10, 2023
1 parent 1d48608 commit c317a78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/zig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ impl Zig {
.iter()
.position(|x| x == "-target")
.and_then(|index| cmd_args.get(index + 1))
.context("Failed to determine compilation target triple")?;
.with_context(|| {
format!("Failed to determine compilation target triple from: {cmd_args:?}")
})?;
let is_musl = target.contains("musl");
let is_windows_gnu = target.contains("windows-gnu");
let is_windows_msvc = target.contains("windows-msvc");
Expand Down

0 comments on commit c317a78

Please sign in to comment.