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),