diff --git a/test/test_other.py b/test/test_other.py index 9de3bf79e6392..40561b8e7e113 100644 --- a/test/test_other.py +++ b/test/test_other.py @@ -12859,7 +12859,9 @@ def test_split_module(self, customLoader, jspi): self.assertExists('profile.data') wasm_split = os.path.join(building.get_binaryen_bin(), 'wasm-split') - wasm_split_run = [wasm_split, '-g', '--enable-mutable-globals', '--export-prefix=%', 'test_split_module.wasm.orig', '-o1', 'primary.wasm', '-o2', 'secondary.wasm', '--profile=profile.data'] + wasm_split_run = [wasm_split, '-g', + '--enable-mutable-globals', '--enable-bulk-memory', '--enable-nontrapping-float-to-int', + '--export-prefix=%', 'test_split_module.wasm.orig', '-o1', 'primary.wasm', '-o2', 'secondary.wasm', '--profile=profile.data'] if jspi: wasm_split_run += ['--jspi', '--enable-reference-types'] self.run_process(wasm_split_run) diff --git a/tools/maybe_wasm2js.py b/tools/maybe_wasm2js.py index 6b90ef8f70094..74fb6dd84cb14 100755 --- a/tools/maybe_wasm2js.py +++ b/tools/maybe_wasm2js.py @@ -41,7 +41,7 @@ # main -cmd = [os.path.join(building.get_binaryen_bin(), 'wasm2js'), '--emscripten', wasm_file] +cmd = [os.path.join(building.get_binaryen_bin(), 'wasm2js'), '--emscripten', '-all', wasm_file] cmd += opts js = shared.run_process(cmd, stdout=subprocess.PIPE).stdout # assign the instantiate function to where it will be used