Files
wasmer/lib/cli-compiler
Christoph Herzog 46b42900d1 deps: Upgrade clap to v4
Upgrade clap from 3.x to 4.2.7 in both the main CLI and the compiler
CLI.

Needed as a prep work for future CLI additions.
2023-05-12 09:45:20 +00:00
..
2023-05-12 09:45:20 +00:00
2023-05-12 09:45:20 +00:00

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