File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
site/source/docs/compiling Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,11 @@ fix in future releses. Current limitations include:
119
119
object does not work. This is because symbols are exported directly using
120
120
ES6 module syntax rathar than using a global `Module ` object.
121
121
122
- * `ccall `/`cwrap `, these depend on the internal `Module ` object.
122
+ * `ccall `/`cwrap ` are not supported (these depend on the internal `Module `
123
+ object).
124
+
125
+ * :ref: `abort_on_wasm_exceptions ` is not supported (requires wrapping wasm
126
+ exports).
123
127
124
128
125
129
Source Phase Imports (experimental)
Original file line number Diff line number Diff line change @@ -9453,6 +9453,7 @@ def test_emscripten_stack(self):
9453
9453
self .do_core_test ('test_stack_get_free.c' )
9454
9454
9455
9455
# Tests settings.ABORT_ON_WASM_EXCEPTIONS
9456
+ @no_modularize_instance ('ABORT_ON_WASM_EXCEPTIONS' )
9456
9457
def test_abort_on_exceptions (self ):
9457
9458
self .set_setting ('ABORT_ON_WASM_EXCEPTIONS' )
9458
9459
self .set_setting ('ALLOW_TABLE_GROWTH' )
Original file line number Diff line number Diff line change @@ -810,9 +810,11 @@ def limit_incoming_module_api():
810
810
default_setting ('INCOMING_MODULE_JS_API' , [])
811
811
812
812
if settings .MODULARIZE == 'instance' :
813
- diagnostics .warning ('experimental' , '-sMODULARIZE =instance is still experimental. Many features may not work or will change.' )
813
+ diagnostics .warning ('experimental' , 'MODULARIZE =instance is still experimental. Many features may not work or will change.' )
814
814
if options .oformat != OFormat .MJS :
815
- exit_with_error ('MODULARIZE instance is only compatible with ES module output format' )
815
+ exit_with_error ('MODULARIZE=instance is only compatible with ES module output format' )
816
+ if settings .ABORT_ON_WASM_EXCEPTIONS :
817
+ exit_with_error ('MODULARIZE=instance is only compatible with ABORT_ON_WASM_EXCEPTIONS' )
816
818
if 'INCOMING_MODULE_JS_API' in user_settings :
817
819
for s in ['wasmMemory' , 'INITIAL_MEMORY' ]:
818
820
if s in settings .INCOMING_MODULE_JS_API :
You can’t perform that action at this time.
0 commit comments