From ffdc352610e4992ce7e89aba1f6bca2d331b8132 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Tue, 4 Aug 2026 23:41:52 -0700 Subject: [PATCH] Fix benchmarks after DEFAULT_TO_CXX change See #27469 --- test/test_benchmark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_benchmark.py b/test/test_benchmark.py index c0afa54568c25..571307f9ba531 100644 --- a/test/test_benchmark.py +++ b/test/test_benchmark.py @@ -24,7 +24,7 @@ import clang_native import common import jsrun -from common import copy_asset, read_binary, read_file, test_file +from common import compiler_for, copy_asset, read_binary, read_file, test_file from decorators import needs_make, parameterized from tools import utils @@ -262,7 +262,7 @@ def build(self, parent, filename, shared_args, emcc_args, native_args, native_ex final = final.replace('.cpp', '') utils.delete_file(final) cmd = [ - EMCC, filename, + compiler_for(filename), filename, OPTIMIZATIONS, '-sINITIAL_MEMORY=256MB', '-sENVIRONMENT=node,shell',