Fix macos install target path

master
Philipp Krüger 3 years ago committed by printfn
parent c8ed786590
commit 5080097b39
  1. 2
      src/install/mod.rs

@ -168,7 +168,7 @@ fn prebuilt_url(tool: &Tool, version: &str) -> Result<String, failure::Error> {
_ => "x86_64-unknown-linux-musl",
}
} else if target::MACOS && (target::x86_64 || target::aarch64) {
"x86_64-apple-darwin"
"x86_64-macos"
} else if target::WINDOWS && target::x86_64 {
match tool {
Tool::WasmOpt => "x86-windows",

Loading…
Cancel
Save