Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for OpenBSD/adJ #1384

Open
vtamara opened this issue Apr 19, 2024 · 0 comments
Open

Support for OpenBSD/adJ #1384

vtamara opened this issue Apr 19, 2024 · 0 comments

Comments

@vtamara
Copy link

vtamara commented Apr 19, 2024

💡 Feature description

Being able to use wasm-pack on OpenBSD/adJ.

It is important for example to have rollup on that platform see rollup/rollup#5478

💻 Basic example

Now using OpenBSD/adJ 7.4 that has rustc 1.72.1 and node 18.18.0:

% curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
wasm-pack-init: no precompiled binaries available for OS: OpenBSD

However it is possible to compile with:

% cargo install wasm-pack
...
% cargo install --locked wasm-pack
...
   Installed package `wasm-pack v0.12.1` (executable `wasm-pack`)
warning: be sure to add `/home/vtamara/.cargo/bin` to your PATH to be able to run the installed binaries

% ~/.cargo/bin/wasm-pack 
📦 ✨  pack and publish your wasm!

Usage: wasm-pack [OPTIONS] <COMMAND>

Commands:
  build    🏗️   build your npm package!
  pack     🍱  create a tar of your npm package but don't publish!
  new      🐑 create a new project with a template
  publish  🎆  pack up your npm package and publish!
  login    👤  Add an npm registry user account! (aliases: adduser, add-user)
  test     👩  test your wasm!
  help     Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose...             Log verbosity is based off the number of v used
  -q, --quiet                  No output printed to stdout
      --log-level <LOG_LEVEL>  The maximum level of messages that should be logged by wasm-pack. [possible values: info, warn, error] [default: info]
  -h, --help                   Print help
  -V, --version                Print version

I'm attaching the binary that I produced with this procedure.

wasm-pack-bin-openbsd-adJ-7.4.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant