wasmtime-cli 42.0.2

Command-line interface for Wasmtime
Documentation
1
2
3
4
5
6
7
8
(module
  (func (export "add") (param i32 i32) (result i32)
    (i32.add (local.get 0) (local.get 1))
  )
)

(assert_return (invoke "add" (i32.const 1) (i32.const 2))
               (i32.const 3))