Skip to content

Commit

Permalink
Merge pull request #56 from bryango/riir
Browse files Browse the repository at this point in the history
fix: erroneous architecture for darwin (macos)
  • Loading branch information
Artturin authored Dec 15, 2024
2 parents 4d59c0d + 0a7d08b commit a7de29e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,14 @@ impl HydraCheckCli {
}
return self;
}
let arch = format!("{}-{}", ARCH, OS);
let arch = format!(
"{}-{}",
ARCH,
match OS {
"macos" => "darwin", // hack to produce e.g. `aarch64-darwin`
x => x,
}
);
debug!("assuming --arch '{arch}'");
warn_if_unknown(&arch);
Self {
Expand Down

0 comments on commit a7de29e

Please sign in to comment.