mirror of https://github.com/nodejs/node.git
8 lines
291 B
Plaintext
8 lines
291 B
Plaintext
;; 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))
|
|
) |