From fde85de5a6b8df4b773951e37c5729bd1a7dc400 Mon Sep 17 00:00:00 2001 From: Daniel Iisak Mikael Kristiansson <145011902+dkristia@users.noreply.github.com> Date: Wed, 22 May 2024 13:38:05 +0300 Subject: [PATCH] add linux aarch64 to targets; bump binaryen vers. --- src/install/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/install/mod.rs b/src/install/mod.rs index 747a169..926ec16 100644 --- a/src/install/mod.rs +++ b/src/install/mod.rs @@ -173,6 +173,7 @@ fn prebuilt_url(tool: &Tool, version: &str) -> Result { /// Get the download URL for some tool at some version, architecture and operating system pub fn prebuilt_url_for(tool: &Tool, version: &str, arch: &Arch, os: &Os) -> Result { let target = match (os, arch, tool) { + (Os::Linux, Arch:AArch64, Tool::WasmOpt) => "aarch64-linux", (Os::Linux, Arch::X86_64, Tool::WasmOpt) => "x86_64-linux", (Os::Linux, Arch::X86_64, _) => "x86_64-unknown-linux-musl", (Os::MacOS, Arch::X86_64, Tool::WasmOpt) => "x86_64-macos", @@ -201,7 +202,7 @@ pub fn prebuilt_url_for(tool: &Tool, version: &str, arch: &Arch, os: &Os) -> Res Tool::WasmOpt => { Ok(format!( "https://github.com/WebAssembly/binaryen/releases/download/{vers}/binaryen-{vers}-{target}.tar.gz", - vers = "version_111", + vers = "version_117", target = target, )) }