From 2bb107364327dadca278206cee34e0da5545e4c9 Mon Sep 17 00:00:00 2001 From: Tzvetan Mikov Date: Mon, 23 Dec 2024 18:01:57 -0800 Subject: [PATCH] EASY: add -Xenable-tdz to wasm-compile.sh Summary: . Reviewed By: lavenzg Differential Revision: D67614387 fbshipit-source-id: a7494f4fb958814eb7934db12b47d2cc5bb5ccd5 --- utils/wasm-compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \