Skip to content

Commit

Permalink
fix: use right artifact for binaryen in case of linux aarch64 (#257)
Browse files Browse the repository at this point in the history
Co-authored-by: Luis Moreno <[email protected]>
  • Loading branch information
morenol and morenol authored Mar 1, 2024
1 parent 99895ed commit 7743ee5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ext/exe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ impl Command for CommandWasmOpt {

fn download_url(&self, target_os: &str, target_arch: &str, version: &str) -> Result<String> {
let target = match (target_os, target_arch) {
("linux", _) => "x86_64-linux",
("linux", "aarch64") => "aarch64-linux",
("linux", "x86_64") => "x86_64-linux",
("windows", _) => "x86_64-windows",
("macos", "aarch64") => "arm64-macos",
("macos", "x86_64") => "x86_64-macos",
Expand Down

0 comments on commit 7743ee5

Please sign in to comment.