@@ -2207,16 +2207,14 @@ def test_dylink_pthread_warning(self):
2207
2207
self.assertContained('error: -sMAIN_MODULE + pthreads is experimental', err)
2208
2208
2209
2209
@node_pthreads
2210
- def test_dylink_pthread_bigint_em_asm (self):
2210
+ def test_dylink_pthread_em_asm (self):
2211
2211
self.set_setting('MAIN_MODULE', 2)
2212
- self.set_setting('WASM_BIGINT')
2213
2212
self.cflags += ['-Wno-experimental', '-pthread']
2214
2213
self.do_runf('hello_world_em_asm.c', 'hello, world')
2215
2214
2216
2215
@node_pthreads
2217
- def test_dylink_pthread_bigint_em_js (self):
2216
+ def test_dylink_pthread_em_js (self):
2218
2217
self.set_setting('MAIN_MODULE', 2)
2219
- self.set_setting('WASM_BIGINT')
2220
2218
self.set_setting('EXPORTED_FUNCTIONS', '_malloc,_main')
2221
2219
self.cflags += ['-Wno-experimental', '-pthread']
2222
2220
self.do_runf('core/test_em_js.cpp')
@@ -3158,7 +3156,7 @@ def test_dwarf_sourcemap_names(self):
3158
3156
(['-g', '-gsource-map'], True, True, True),
3159
3157
(['-g2', '-gsource-map'], False, True, True),
3160
3158
(['-gsplit-dwarf', '-gsource-map'], True, True, True),
3161
- (['-gsource-map', '-sWASM_BIGINT', '- sERROR_ON_WASM_CHANGES_AFTER_LINK'], False, True, True),
3159
+ (['-gsource-map', '-sERROR_ON_WASM_CHANGES_AFTER_LINK'], False, True, True),
3162
3160
]:
3163
3161
print(flags, expect_dwarf, expect_sourcemap, expect_names)
3164
3162
self.emcc(test_file(source_file), flags, js_file)
@@ -5731,7 +5729,7 @@ def guess_symbols_file_type(symbols_file):
5731
5729
'': [[]],
5732
5730
# bigint support is interesting to test here because it changes which
5733
5731
# binaryen tools get run, which can affect how debug info is kept around
5734
- 'bigint ': [['-sWASM_BIGINT']],
5732
+ 'nobigint ': [['-sWASM_BIGINT=0 ']],
5735
5733
})
5736
5734
def test_symbol_map_output_size(self, args):
5737
5735
# build with and without a symbol map and verify that the sizes are the
@@ -6524,8 +6522,6 @@ def test_only_force_stdlibs_2(self):
6524
6522
@with_env_modify({'EMCC_FORCE_STDLIBS': '1'})
6525
6523
def test_force_stdlibs(self):
6526
6524
self.do_runf('hello_world.c')
6527
- # See https://github.com/emscripten-core/emscripten/issues/22161
6528
- self.do_runf('hello_world.c', cflags=['-sWASM_BIGINT'])
6529
6525
6530
6526
@also_with_standalone_wasm()
6531
6527
def test_time(self):
@@ -10280,7 +10276,7 @@ def test_full_js_library_except(self):
10280
10276
'': [[]],
10281
10277
# bigint support is interesting to test here because it changes which
10282
10278
# binaryen tools get run, which can affect how debug info is kept around
10283
- 'bigint ': [['-sWASM_BIGINT']],
10279
+ 'nobigint ': [['-sWASM_BIGINT=0 ']],
10284
10280
'pthread': [['-pthread', '-Wno-experimental']],
10285
10281
'pthread_offscreen': [['-pthread', '-Wno-experimental', '-sOFFSCREEN_FRAMEBUFFER']],
10286
10282
'wasmfs': [['-sWASMFS']],
@@ -11082,9 +11078,9 @@ def test_wasm_producers_section(self, args):
11082
11078
11083
11079
@parameterized({
11084
11080
'': ([],),
11085
- # in some modes we skip wasm-emscripten-finalize, which normally strips the
11081
+ # in some modes we run wasm-emscripten-finalize, which normally strips the
11086
11082
# features section for us, so add testing for those
11087
- 'bigint ': (['-sWASM_BIGINT'],),
11083
+ 'nobigint ': (['-sWASM_BIGINT=0 '],),
11088
11084
'wasm64': (['-sMEMORY64'],),
11089
11085
})
11090
11086
def test_wasm_features_section(self, args):
@@ -12542,7 +12538,7 @@ def test_fignore_exceptions(self):
12542
12538
'compile_only': (['-fexceptions'], [], False),
12543
12539
# just link isn't enough as codegen didn't emit exceptions support
12544
12540
'link_only': ([], ['-fexceptions'], False),
12545
- 'standalone': (['-fexceptions'], ['-fexceptions', '-sSTANDALONE_WASM', '-sWASM_BIGINT' ], True),
12541
+ 'standalone': (['-fexceptions'], ['-fexceptions', '-sSTANDALONE_WASM'], True),
12546
12542
})
12547
12543
def test_f_exception(self, compile_flags, link_flags, expect_caught):
12548
12544
create_file('src.cpp', r'''
@@ -13529,9 +13525,10 @@ def test_this_in_dyncall_memory64(self):
13529
13525
13530
13526
# Tests that dynCalls are produced in Closure-safe way in DYNCALLS mode when no actual dynCalls are used
13531
13527
@parameterized({
13532
- 'plain ': [[]],
13528
+ '': [[]],
13533
13529
'asyncify': [['-sASYNCIFY']],
13534
- 'asyncify_bigint': [['-sASYNCIFY', '-sWASM_BIGINT']]})
13530
+ 'asyncify_nobigint': [['-sASYNCIFY', '-sWASM_BIGINT=0']],
13531
+ })
13535
13532
def test_closure_safe(self, args):
13536
13533
self.run_process([EMCC, test_file('hello_world.c'), '--closure=1'] + args)
13537
13534
0 commit comments