mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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))
|
||
|
)
|