From 77b1f27881ccc11a54019eb9f2676dc9785c3c33 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Thu, 12 Mar 2026 18:47:20 -0700 Subject: [PATCH] Enable custom descriptors in j2cl.sh --- scripts/j2cl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/j2cl.sh b/scripts/j2cl.sh index 884001aeaa1..f45f880e1ac 100644 --- a/scripts/j2cl.sh +++ b/scripts/j2cl.sh @@ -15,7 +15,7 @@ set -e # This will emit one file for each stage of compilation, as output.wasm.N.wasm. # -COMMON="--enable-exception-handling --enable-gc --enable-reference-types --enable-sign-ext --enable-strings --enable-nontrapping-float-to-int --enable-bulk-memory --closed-world --traps-never-happen" +COMMON="--enable-exception-handling --enable-gc --enable-reference-types --enable-sign-ext --enable-strings --enable-nontrapping-float-to-int --enable-bulk-memory --enable-custom-descriptors --closed-world --traps-never-happen" echo "Stage 1" bin/wasm-opt $COMMON "--no-inline=*__*" -O3 --cfp-reftest --optimize-j2cl --gufa --unsubtyping -O3 --cfp-reftest --optimize-j2cl -O3 --cfp-reftest --optimize-j2cl $1 -o $2.1.wasm