Skip to content

Commit b79d221

Browse files
committed
ports/unix/build-wasi.sh: Update a wasm-opt option
Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
1 parent bdbd9f5 commit b79d221

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ports/unix/build-wasi.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ ${WASM_OPT} \
4141
--spill-pointers \
4242
-o ${PROG}.spilled ${PROG}
4343

44-
# LLVM still uses the older version of EH proposal.
45-
# Convert to the latest version of EH proposal.
44+
# LLVM still uses the older version of EH proposal. ("phase 3")
45+
# Convert to the latest version of EH proposal with exnref.
4646
${WASM_OPT} \
47-
--translate-to-new-eh --enable-exception-handling \
47+
--translate-to-exnref --enable-exception-handling \
4848
-o ${PROG}.spilled.neweh ${PROG}.spilled
4949

5050
# now you can run it with EH-enabled runtimes.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy