Skip to content

Commit 312257d

Browse files
committed
Fix wasm64 test suite failures. NFC
These failures were introduced in emscripten-core#26963 but not caught because we currently (temporarily) disabled this suite in emscripten-core#26664. Fixes: emscripten-core#26968
1 parent 1d63dc0 commit 312257d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,9 @@ def add_on_exit(self, code):
842842
# libraries, for example
843843
def get_cflags(self, main_file=False, compile_only=False, asm_only=False):
844844
def is_ldflag(f):
845-
return f.startswith('-l') or any(f.startswith(s) for s in ['-sEXPORT_ES6', '-sGL_TESTING', '-sPROXY_TO_PTHREAD', '-sENVIRONMENT=', '--pre-js=', '--post-js=', '-sPTHREAD_POOL_SIZE='])
845+
return f.startswith(('-l', '-sEXPORT_ES6', '-sGL_TESTING', '-sPROXY_TO_PTHREAD',
846+
'-sENVIRONMENT=', '--pre-js=', '--post-js=', '-sPTHREAD_POOL_SIZE=',
847+
'--profiling-funcs'))
846848

847849
args = self.serialize_settings(compile_only or asm_only) + self.cflags
848850
if asm_only:

0 commit comments

Comments
 (0)