wa-lang.org/wazero@v1.0.2/internal/integration_test/engine/testdata/host_memory.wat (about)

     1  (module $test
     2    (import "" "store_int"
     3      (func $store_int (param $offset i32) (param $val i64) (result (;errno;) i32)))
     4    (memory $memory 1 1)
     5    (export "memory" (memory $memory))
     6    (func (param i32) (param i64) (result i32)
     7      local.get 0
     8      local.get 1
     9      call 0
    10    )
    11    ;; store_int is imported from the environment.
    12    (export "store_int" (func 1))
    13  )