16 releases (7 stable)

new 3.2.0-beta.1 Mar 23, 2023
3.1.0 Dec 14, 2022
3.0.2 Nov 26, 2022
3.0.0-alpha.4 Jul 29, 2022
2.3.0 Jun 6, 2022

#724 in WebAssembly

Download history 36/week @ 2022-11-25 14/week @ 2022-12-02 28/week @ 2022-12-09 15/week @ 2022-12-16 9/week @ 2022-12-23 3/week @ 2022-12-30 11/week @ 2023-01-06 9/week @ 2023-01-13 52/week @ 2023-01-20 46/week @ 2023-01-27 91/week @ 2023-02-03 47/week @ 2023-02-10 44/week @ 2023-02-17 19/week @ 2023-02-24

76 downloads per month

MIT license

1MB
19K SLoC

wasmer-cli-compiler Build Status Join Wasmer Slack MIT License

This crate is the Wasmer Compiler only CLI.

Features

The Compiler only Wasmer supports the following features:

  • wasi (default): support for WASI.
  • experimental-io-devices: support for experimental IO devices in WASI.
  • emscripten (default): support for Emscripten.
  • singlepass: support for the Singlepass compiler.

CLI commands

Once you have Wasmer installed, you can start executing WebAssembly files easily:

Get the current Wasmer version:

wasmer-compiler -V

Compile a WebAssembly file:

wasmer-compiler compile myfile.wasm -o myfile.wasmu --singlepass

Dependencies

~7–14MB
~273K SLoC