Files
wasmer/lib/cli-compiler
ptitSeb 0c7ea79bfc Cleanup:
Removed conditionnal toml on wasm for VM as it's not builded in that configuration
Added unwind to wasm build
Moved Trap back to vm (from types) as it's used only on Runtime
Move MemoryError back to vm (from types) as it's used on Runtime only scenario
Some cleanup and lint fixes
Removed wasm build case from vfs/host_fs as it's not used
2022-05-03 09:34:13 +02:00
..
2022-05-03 09:34:13 +02: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:

  • universal (default): support for the Universal engine.
  • 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 --universal