diff --git a/utils/wasm-compile.sh b/utils/wasm-compile.sh index d3a202b8e2d..66dca4b1b9e 100755 --- a/utils/wasm-compile.sh +++ b/utils/wasm-compile.sh @@ -44,7 +44,7 @@ file_name=$(basename "$input") # Remove path file_name="${file_name%.*}" # Remove extension echo "Using shermes to compile $input... to ${file_name}.c" -"$shermes" -emit-c "$input" +"$shermes" -Xenable-tdz -emit-c "$input" echo "Using emcc to compile ${file_name}.c to ${file_name}.o" emcc "${file_name}.c" -c \