@@ -8370,7 +8370,7 @@ def test_binaryen_warn_mem(self):
8370
8370
self.run_process([EMCC, test_file('hello_world.c'), '-sINITIAL_MEMORY=' + str(16 * 1024 * 1024), '--pre-js', 'pre.js', '-sWASM_ASYNC_COMPILATION=0', '-sIMPORTED_MEMORY'])
8371
8371
out = self.run_js('a.out.js', assert_returncode=NON_ZERO)
8372
8372
self.assertContained('LinkError', out)
8373
- self.assertContained("memory import 2 has a larger maximum size 800 than the module's declared maximum", out)
8373
+ self.assertContained("memory import 1 has a larger maximum size 800 than the module's declared maximum", out)
8374
8374
self.assertNotContained('hello, world!', out)
8375
8375
# and with memory growth, all should be good
8376
8376
self.run_process([EMCC, test_file('hello_world.c'), '-sINITIAL_MEMORY=' + str(16 * 1024 * 1024), '--pre-js', 'pre.js', '-sALLOW_MEMORY_GROWTH', '-sWASM_ASYNC_COMPILATION=0', '-sIMPORTED_MEMORY'])
@@ -12850,7 +12850,7 @@ def test_split_module(self, customLoader, jspi):
12850
12850
self.assertExists('profile.data')
12851
12851
12852
12852
wasm_split = os.path.join(building.get_binaryen_bin(), 'wasm-split')
12853
- 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']
12853
+ wasm_split_run = [wasm_split, '-g', '--enable-mutable-globals', '--enable-bulk-memory', '-- export-prefix=%', 'test_split_module.wasm.orig', '-o1', 'primary.wasm', '-o2', 'secondary.wasm', '--profile=profile.data']
12854
12854
if jspi:
12855
12855
wasm_split_run += ['--jspi', '--enable-reference-types']
12856
12856
self.run_process(wasm_split_run)
0 commit comments