Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-04-26 06:38:34 +0300
committercjihrig <cjihrig@gmail.com>2020-04-28 20:04:43 +0300
commit4791ea09bd15fac9d7a057611d62c145f4f7a536 (patch)
tree921b4b573d99e605ee8b4b4b7e980ee0213166e8 /doc/api/wasi.md
parent9037ad3e78324be6952ea114bf1fd701a2803516 (diff)
wasi: rename __wasi_unstable_reactor_start()
Upstream WASI has renamed __wasi_unstable_reactor_start() to _initialize(). This commit updates Node's WASI implementation to reflect that change. PR-URL: https://github.com/nodejs/node/pull/33073 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'doc/api/wasi.md')
-rw-r--r--doc/api/wasi.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/wasi.md b/doc/api/wasi.md
index 1fe78aeecd6..09ea12e811f 100644
--- a/doc/api/wasi.md
+++ b/doc/api/wasi.md
@@ -78,8 +78,8 @@ added:
Attempt to begin execution of `instance` by invoking its `_start()` export.
If `instance` does not contain a `_start()` export, then `start()` attempts to
-invoke the `__wasi_unstable_reactor_start()` export. If neither of those exports
-is present on `instance`, then `start()` does nothing.
+invoke the `_initialize()` export. If neither of those exports is present on
+`instance`, then `start()` does nothing.
`start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
`memory`. If `instance` does not have a `memory` export an exception is thrown.