mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
docs(std/wasi): fix reference to the wrong object in example (#7124)
This commit is contained in:
parent
cd67f7bdc8
commit
5adb6cba3e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ const instance = await WebAssembly.instantiate(module, {
|
|||
wasi_snapshot_preview1: wasi.exports,
|
||||
});
|
||||
|
||||
wasi.memory = module.exports.memory;
|
||||
wasi.memory = instance.exports.memory;
|
||||
|
||||
if (module.exports._start) {
|
||||
instance.exports._start();
|
||||
|
|
Loading…
Reference in a new issue