Skip to content

Commit 1238c96

Browse files
committed
Feat: Allow invocation of the emscripten_notify_memory_growth hostcall.
Signed-off-by: Rachel Green <rachgreen@google.com>
1 parent 8b2e653 commit 1238c96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wasm.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ void WasmBase::startVm(ContextBase *root_context) {
382382
"env.proxy_log",
383383
// logging (stdout/stderr)
384384
"wasi_unstable.fd_write", "wasi_snapshot_preview1.fd_write",
385+
// emscripten
386+
"env.emscripten_notify_memory_growth",
385387
// args
386388
"wasi_unstable.args_sizes_get", "wasi_snapshot_preview1.args_sizes_get",
387389
"wasi_unstable.args_get", "wasi_snapshot_preview1.args_get",

0 commit comments

Comments
 (0)