mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Update grow_memory example
This commit is contained in:
parent
df0feb9b7f
commit
874e60aa6d
@ -2,7 +2,7 @@
|
||||
(memory 1)
|
||||
(func $main (export "main") (result i32)
|
||||
(drop (memory.grow (i32.const 1)))
|
||||
(i32.store (i32.const 400) (i32.const 1600))
|
||||
(i32.load (i32.const 1600))
|
||||
(i32.store (i32.const 0) (i32.const 1600))
|
||||
(i32.load (i32.const 0))
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user