Skip to content

Commit fed1729

Browse files
committed
Make wasm-opt generate the new exception handling instructions
1 parent 3242ea5 commit fed1729

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/lib-wasm/binaryen.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ let optimize ~profile ~opt_input_sourcemap ~input_file ~opt_output_sourcemap ~ou
123123
in
124124
command
125125
("wasm-opt"
126+
:: "--emit-exnref"
126127
:: (common_options ()
127128
@ optimization_options.(level - 1)
128129
@ [ Filename.quote input_file; "-o"; Filename.quote output_file ])

0 commit comments

Comments
 (0)