From 659dff4290f041d50e2ab9c07d5694f2ababc6b0 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 18 Mar 2026 12:10:42 -0700 Subject: [PATCH] Do not clusterfuzz multibyte --- scripts/bundle_clusterfuzz.py | 4 +++- scripts/fuzz_opt.py | 17 +++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/scripts/bundle_clusterfuzz.py b/scripts/bundle_clusterfuzz.py index b85c5bc4fd8..60aebd78b7b 100755 --- a/scripts/bundle_clusterfuzz.py +++ b/scripts/bundle_clusterfuzz.py @@ -102,7 +102,8 @@ binaryen_lib = shared.options.binaryen_lib # ClusterFuzz's run.py uses these features. Keep this in sync with that, so that -# we only bundle initial content that makes sense for it. +# we only bundle initial content that makes sense for it. Also keep it in sync +# with fuzz_opt.py's DISALLOWED_FEATURES_IN_V8. features = [ '-all', '--disable-shared-everything', @@ -110,6 +111,7 @@ '--disable-strings', '--disable-stack-switching', '--disable-relaxed-atomics', + '--disable-multibyte', ] with tarfile.open(output_file, "w:gz") as tar: diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index 953668d3fd2..3e176bedfe1 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -62,10 +62,19 @@ CLOSED_WORLD_FLAG = '--closed-world' -# V8 does not support shared memories when running with -# shared-everything enabled, so do not fuzz shared-everything -# for now. The remaining features are not yet implemented in v8. -DISALLOWED_FEATURES_IN_V8 = ['shared-everything', 'strings', 'stack-switching', 'relaxed-atomics', 'multibyte'] +# V8 does not support shared memories when running with shared-everything +# enabled, so do not fuzz shared-everything for now. The remaining features are +# not yet implemented in v8. +# +# Keep this in sync with bundle_clusterfuzz.py. +DISALLOWED_FEATURES_IN_V8 = [ + 'shared-everything', + 'fp16', + 'strings', + 'stack-switching', + 'relaxed-atomics', + 'multibyte', +] # utilities