@@ -1902,7 +1902,7 @@ def phase_emscript(options, in_wasm, wasm_target, js_syms):
1902
1902
if shared .SKIP_SUBPROCS :
1903
1903
return
1904
1904
1905
- emscripten .run (in_wasm , wasm_target , final_js , js_syms )
1905
+ emscripten .emscript (in_wasm , wasm_target , final_js , js_syms )
1906
1906
save_intermediate ('original' )
1907
1907
1908
1908
@@ -1934,7 +1934,7 @@ def run_embind_gen(wasm_target, js_syms, extra_settings):
1934
1934
# import names.
1935
1935
settings .MINIFY_WASM_IMPORTED_MODULES = False
1936
1936
setup_environment_settings ()
1937
- # Use a separate Wasm file so the JS does not need to be modified after emscripten.run .
1937
+ # Use a separate Wasm file so the JS does not need to be modified after emscripten.emscript .
1938
1938
settings .SINGLE_FILE = False
1939
1939
# Disable support for wasm exceptions
1940
1940
settings .WASM_EXCEPTIONS = False
@@ -1944,9 +1944,9 @@ def run_embind_gen(wasm_target, js_syms, extra_settings):
1944
1944
embind_index = settings .JS_LIBRARIES .index ('embind/embind.js' )
1945
1945
settings .JS_LIBRARIES [embind_index ] = 'embind/embind_gen.js'
1946
1946
outfile_js = in_temp ('tsgen_a.out.js' )
1947
- # The Wasm outfile may be modified by emscripten.run , so use a temporary file.
1947
+ # The Wasm outfile may be modified by emscripten.emscript , so use a temporary file.
1948
1948
outfile_wasm = in_temp ('tsgen_a.out.wasm' )
1949
- emscripten .run (wasm_target , outfile_wasm , outfile_js , js_syms , False )
1949
+ emscripten .emscript (wasm_target , outfile_wasm , outfile_js , js_syms , False )
1950
1950
# Build the flags needed by Node.js to properly run the output file.
1951
1951
node_args = []
1952
1952
if settings .MEMORY64 :
0 commit comments