Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Feb 23, 2024
1 parent 41f2ac7 commit 69ae1a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/bin-wasm_of_ocaml/compile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ let optimize ~profile in_file out_file =
("wasm-opt"
:: (common_binaryen_options ()
@ optimization_options.(level - 1)
@ [ "--traps-never-happen"; Filename.quote in_file; "-o"; Filename.quote out_file ]
))
@ [ Filename.quote in_file; "-o"; Filename.quote out_file ]))

let link_and_optimize ~profile runtime_wasm_files wat_file output_file =
with_intermediate_file (Filename.temp_file "runtime" ".wasm")
Expand Down

0 comments on commit 69ae1a9

Please sign in to comment.