From 848b71c098c5cf6ba7693315ee130e05c951c204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CPaulo?= Date: Wed, 21 Aug 2024 14:46:49 -0300 Subject: [PATCH] better html template --- modules/wasm.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/wasm.py b/modules/wasm.py index 423fd32..c2f9a3b 100644 --- a/modules/wasm.py +++ b/modules/wasm.py @@ -641,9 +641,7 @@ def run_task_generate(): "-s", f"EXPORTED_FUNCTIONS={complete_functions_list}", "-s", - 'EXPORTED_RUNTIME_METHODS=\'["ccall", "cwrap", "wasmExports"]\'', - "-s", - "EXTRA_EXPORTED_RUNTIME_METHODS=['addFunction']", + 'EXPORTED_RUNTIME_METHODS=\'["ccall", "cwrap", "addFunction", "wasmExports"]\'', "custom.cpp", lib_file_out, "-I{0}".format(include_dir),