Skip to content

Commit 54580e5

Browse files
committed
Reapply "-fwasm-exceptions implies -sSUPPORT_LONGJMP=wasm"
This reapplies commit 959803b, which was reverted in 1f50d41. This issue was fixed in Emscripten 5.0.1, see commit: emscripten-core/emscripten@926214f
1 parent 7d02b91 commit 54580e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ if [ "$LTO" = "true" ]; then
124124
export RUSTFLAGS+=" -Clto -Cembed-bitcode=yes"
125125
fi
126126
if [ "$WASM_EH" = "true" ]; then
127-
COMMON_FLAGS+=" -fwasm-exceptions -sSUPPORT_LONGJMP=wasm"
127+
COMMON_FLAGS+=" -fwasm-exceptions"
128128
if [ "$WASM_EXNREF" = "true" ]; then
129129
COMMON_FLAGS+=" -sWASM_LEGACY_EXCEPTIONS=0"
130130
export RUSTFLAGS+=" -Cllvm-args=-wasm-use-legacy-eh=0"

0 commit comments

Comments
 (0)