diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-08-20 23:48:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 11:48:33 -0400 |
commit | 5adb6cba3ee443801a4d54e894284183ef096364 (patch) | |
tree | b7a283773236bd605fa37b79a290ada44671a575 | |
parent | cd67f7bdc8fbf1caef758113bab97cc6396321dc (diff) |
docs(std/wasi): fix reference to the wrong object in example (#7124)
-rw-r--r-- | std/wasi/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/wasi/README.md b/std/wasi/README.md index 06dc36ff5..4cbcbbca3 100644 --- a/std/wasi/README.md +++ b/std/wasi/README.md @@ -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(); |