[wasm] fix aotProfiler init (#79651)
authorPavel Savara <pavel.savara@gmail.com>
Thu, 15 Dec 2022 15:52:03 +0000 (16:52 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Dec 2022 15:52:03 +0000 (16:52 +0100)
src/mono/wasm/runtime/cwraps.ts

index f1279cd..f4206b2 100644 (file)
@@ -86,7 +86,7 @@ const fn_signatures: SigLine[] = [
     [true, "mono_wasm_set_main_args", "void", ["number", "number"]],
     [false, "mono_wasm_enable_on_demand_gc", "void", ["number"]],
     // These two need to be lazy because they may be missing
-    [true, "mono_wasm_profiler_init_aot", "void", ["number"]],
+    [true, "mono_wasm_profiler_init_aot", "void", ["string"]],
     [true, "mono_wasm_profiler_init_browser", "void", ["number"]],
     [false, "mono_wasm_exec_regression", "number", ["number", "string"]],
     [false, "mono_wasm_invoke_method_bound", "number", ["number", "number"]],