blob: 9dbaf7fa7fe51b68bb97a3c3bd1a8ec42e38e169 (
plain)
1
2
3
4
5
6
7
8
|
;; Compiled using the WebAssembly Tootkit (https://github.com/WebAssembly/wabt)
;; $ wat2wasm --enable-threads shared-memory.wat -o shared-memory.wasm
(module
;; Create shared memory with initial 1 page (64KiB) and max 1 page
(memory $mem 1 1 shared)
(export "memory" (memory $mem))
)
|