wasm-pack icon indicating copy to clipboard operation
wasm-pack copied to clipboard

FreeBSD wasm-pack support

Open modulok opened this issue 3 years ago • 1 comments

🐛 Bug description

When installing from the wasm-pack url and install script on FreeBSD I get:

"wasm-pack-init: no precompiled binaries available for OS: FreeBSD"

I know FreeBSD is less popular and currently "Tier 2 with Host Tools" but 99% of everything else in Rust land seems to work on FreeBSD. If there's anything I can do to help make this work, point me in the right direction! Cheers!

🌍 Your environment

wasm-pack version: All rustc version: rustc 1.59.0 (9d1b2106e 2022-02-23)

modulok avatar Mar 16 '22 09:03 modulok

If there's anything I can do to help make this work, point me in the right direction!

As far as I can tell, it is because pre-built binaries are only released for the following platforms:

  • aarch64-unknown-linux-musl
  • x86_64-apple-darwin
  • x86_64-pc-windows-msvc
  • x86_64-unknown-linux-musl

I know FreeBSD is less popular and currently "Tier 2 with Host Tools"

This shouldn't be a problem in theory, note that the linux/musl targets above are also tier 2 with host tools. However I suspect the main reason this hasn't been done yet could be related to GitHub's sore lack of hosted runners for FreeBSD, see https://github.com/actions/runner/issues/385.

But I think something like FreeBSD vmactions addresses this, if I understand correctly?

ryanavella avatar Dec 24 '23 17:12 ryanavella