You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were already aborting if the user ever specified this on the command
line. Because it was already effectively banned I'm not sure we need
to mention this in the changelog.
exit_with_error('closure compiler mode 2 assumes the code is asm.js, so not meaningful for wasm')
2571
2571
2572
-
if'MEM_INIT_METHOD'inuser_settings:
2573
-
exit_with_error('MEM_INIT_METHOD is not supported in wasm. Memory will be embedded in the wasm binary if threads are not used, and included in a separate file if threads are used.')
2574
-
2575
2572
ifsettings.WASM2JS:
2576
2573
ifoptions.memory_init_fileisNone:
2577
2574
options.memory_init_file=settings.OPT_LEVEL>=2
2578
-
ifoptions.memory_init_file:
2579
-
settings.MEM_INIT_METHOD=1
2580
2575
settings.MAYBE_WASM2JS=1
2581
2576
# when using wasm2js, if the memory segments are in the wasm then they
2582
2577
# end up converted by wasm2js into base64 encoded JS. alternatively, we
0 commit comments