Skip to content

Commit d02124f

Browse files
authored
Merge branch 'main' into observability_plugin_crash
2 parents aeec322 + 14fa83a commit d02124f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wasm.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,9 @@ ContextBase *WasmBase::getRootContext(const std::shared_ptr<PluginBase> &plugin,
378378
void WasmBase::startVm(ContextBase *root_context) {
379379
// wasi_snapshot_preview1.clock_time_get
380380
wasm_vm_->setRestrictedCallback(
381-
true, {// logging (Proxy-Wasm)
381+
true, {// emscripten
382+
"env.emscripten_notify_memory_growth",
383+
// logging (Proxy-Wasm)
382384
"env.proxy_log",
383385
// logging (stdout/stderr)
384386
"wasi_unstable.fd_write", "wasi_snapshot_preview1.fd_write",

0 commit comments

Comments
 (0)