wasm-pack
is unable to download the required tools for optimizing wasm-opt
.
This fails the build. I'm left with only option of disabling wasm optimizations with wasm-opt = false
.
$ wasm-pack build
failed with error
Error: failed to download from https://github.com/WebAssembly/binaryen/releases/download/version_114/binaryen-version_114-x86_64-linux.tar.gz
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy