bytecodealliance / wizer

The WebAssembly Pre-Initializer
Apache License 2.0
942 stars 55 forks source link

Fix the npm package to correctly use the two new prebuilt binaries for linux arm64 and s390x #90

Closed JakeChampion closed 1 year ago

JakeChampion commented 1 year ago

The new linux arm64 binary was not being downloaded correctly as I was using the wrong filename when attempting to download from the github release assets, the filename contains aarch64 and not arm64.

I also forgot to update the definition within the main wizer npm package about what platforms are supported, this is due to it be duplicated across two files. To avoid this mistake in the future, I've refactored the code to not duplicate the definition anymore.

I think this should likely be a patch release, which I am happy to do when/if this pull-request lands on main