diff --git a/wasm_patches/post.js b/wasm_patches/post.js index ac0ebdf5..08138453 100644 --- a/wasm_patches/post.js +++ b/wasm_patches/post.js @@ -4,16 +4,14 @@ Module.wasmTable = wasmTable; // Emscripten has a bug where it accidentally exposes an empty object as Module.ERRNO_CODES Module.ERRNO_CODES = ERRNO_CODES; - - Module['async_init'] = async function( - kernel_root_url, + kernel_root_url, pkg_root_url, - verbose) { - Module['bootstrap_from_empack_packed_environment'] + verbose +) { return Module['bootstrap_from_empack_packed_environment']( - `${kernel_root_url}/empack_env_meta.json`, /* packages_json_url */ - pkg_root_url, /* package_tarballs_root_url */ - verbose /* verbose */ + `${kernel_root_url}/empack_env_meta.json`, /* packages_json_url */ + pkg_root_url, /* package_tarballs_root_url */ + verbose /* verbose */ ); -} \ No newline at end of file +};