Wasmex.Wat (wasmex v0.18.1)

Copy Markdown

Utilities to work with Web Assembly Text (.wat) files.

Summary

Functions

Converts a Wasm text file to a Wasm binary.

Functions

to_wasm(wat)

Converts a Wasm text file to a Wasm binary.

Component WAT uses nested core references in canonical ABI options, such as (memory (core memory $instance "mem")) and (realloc (core func $realloc)). To temporarily accept legacy component references, set WAST_STRICT_COMPONENT_INDICES=0 before starting the VM.