We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87ba46 commit c8908cfCopy full SHA for c8908cf
build.sh
@@ -149,8 +149,8 @@ if [ "$LTO" = "true" ]; then
149
fi
150
if [ "$WASM_EH" = "true" ]; then
151
COMMON_FLAGS+=" -fwasm-exceptions -sSUPPORT_LONGJMP=wasm"
152
- # `-Cpanic=unwind` implies `-mllvm -enable-emscripten-cxx-exceptions`
153
- export RUSTFLAGS+=" -Cpanic=abort -Cllvm-args=-wasm-enable-eh -Cllvm-args=-wasm-enable-sjlj"
+ # https://github.com/rust-lang/rust/issues/112195
+ export RUSTFLAGS+=" -Cllvm-args=-enable-emscripten-cxx-exceptions=0 -Cllvm-args=-wasm-enable-sjlj"
154
else
155
COMMON_FLAGS+=" -fexceptions"
156
0 commit comments