fix prior commit

master
Daniel Iisak Mikael Kristiansson 11 months ago committed by GitHub
parent fde85de5a6
commit 4059310b96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      src/install/mod.rs

@ -173,7 +173,8 @@ fn prebuilt_url(tool: &Tool, version: &str) -> Result<String> {
/// 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<String> {
let target = match (os, arch, tool) {
(Os::Linux, Arch:AArch64, Tool::WasmOpt) => "aarch64-linux",
(Os::Linux, Arch::AArch64, Tool::WasmOpt) => "aarch64-linux",
(Os::Linux, Arch::AArch64, _) => "aarch64-unknown-linux-musl",
(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",

Loading…
Cancel
Save