File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -1679,11 +1679,6 @@ def include_and_export(name):
16791679 # requires JS legalization
16801680 shared .Settings .LEGALIZE_JS_FFI = 0
16811681
1682- # For STANDALONE_WASM and MINIMAL_RUNTIME mode that memory is creating
1683- # in the module and exported to JS.
1684- # In trandiational emscripten mode we create it in JS and export it to
1685- # wasm. This allows us to set up memory, preload files, etc. even before
1686- # the wasm module is created.
16871682 if shared .Settings .MINIMAL_RUNTIME or shared .Settings .STANDALONE_WASM :
16881683 shared .Settings .MEMORY_DEFINED_IN_WASM = 1
16891684
Original file line number Diff line number Diff line change @@ -620,9 +620,6 @@ def create_em_js(forwarded_json, metadata):
620620
621621
622622def add_standard_wasm_imports (send_items_map ):
623- # Normally we import these into the wasm (so that JS could use them even
624- # before the wasm loads), while in standalone mode we do not depend
625- # on JS to create them, but create them in the wasm and export them.
626623 if not shared .Settings .MEMORY_DEFINED_IN_WASM :
627624 memory_import = 'wasmMemory'
628625 if shared .Settings .MODULARIZE and shared .Settings .USE_PTHREADS :
You can’t perform that action at this time.
0 commit comments