Skip to content

Commit

Permalink
EASY: add -Xenable-tdz to wasm-compile.sh
Browse files Browse the repository at this point in the history
Summary: .

Reviewed By: lavenzg

Differential Revision: D67614387

fbshipit-source-id: a7494f4fb958814eb7934db12b47d2cc5bb5ccd5
  • Loading branch information
Tzvetan Mikov authored and facebook-github-bot committed Dec 24, 2024
1 parent f1cf847 commit 2bb1073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/wasm-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 2bb1073

Please sign in to comment.