Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.31 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.31 KB

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