diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/wasm-interp.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/wasm-interp.cc b/src/tools/wasm-interp.cc index 01f18e66..0bcd05f1 100644 --- a/src/tools/wasm-interp.cc +++ b/src/tools/wasm-interp.cc @@ -118,6 +118,9 @@ static void RunAllExports(interp::Module* module, TypedValues args; TypedValues results; for (const interp::Export& export_ : module->exports) { + if (export_.kind != ExternalKind::Func) { + continue; + } ExecResult exec_result = executor->RunExport(&export_, args); if (verbose == RunVerbosity::Verbose) { WriteCall(s_stdout_stream.get(), string_view(), export_.name, args, |