mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
0c8dedd103
PR-URL: https://github.com/nodejs/node/pull/25360 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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))
|
|
) |