From 312257d9a539ed04b2b19fc86787f6f5728fe126 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Sat, 16 May 2026 09:33:13 -0700 Subject: [PATCH] Fix wasm64 test suite failures. NFC These failures were introduced in #26963 but not caught because we currently (temporarily) disabled this suite in #26664. Fixes: #26968 --- test/common.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/common.py b/test/common.py index 3e591422a3af4..19389eff088ec 100644 --- a/test/common.py +++ b/test/common.py @@ -842,7 +842,9 @@ def add_on_exit(self, code): # libraries, for example def get_cflags(self, main_file=False, compile_only=False, asm_only=False): def is_ldflag(f): - 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=']) + return f.startswith(('-l', '-sEXPORT_ES6', '-sGL_TESTING', '-sPROXY_TO_PTHREAD', + '-sENVIRONMENT=', '--pre-js=', '--post-js=', '-sPTHREAD_POOL_SIZE=', + '--profiling-funcs')) args = self.serialize_settings(compile_only or asm_only) + self.cflags if asm_only: