wa-lang.org/wazero@v1.0.2/internal/integration_test/engine/testdata/memory.wat (about) 1 (module $memory 2 (func $grow (param $delta i32) (result (;previous_size;) i32) local.get 0 memory.grow) 3 (func $size (result (;size;) i32) memory.size) 4 5 (memory 0) 6 7 (export "size" (func $size)) 8 (export "grow" (func $grow)) 9 (export "memory" (memory 0)) 10 11 (func $store (param $offset i32) 12 local.get 0 ;; memory offset 13 i64.const 1 14 i64.store 15 ) 16 (export "store" (func $store)) 17 )