File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
compiler/bin-wasm_of_ocaml Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ let preprocessor_variables () =
87
87
| `Double_translation -> assert false ) )
88
88
; " wasi" , Wat_preprocess. Bool (Config.Flag. wasi () )
89
89
; " trap-on-exception" , Wat_preprocess. Bool (Config.Flag. trap_on_exception () )
90
+ ; " exnref" , Wat_preprocess. Bool (Config.Flag. exnref () )
90
91
]
91
92
92
93
let with_runtime_files ~runtime_wasm_files f =
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ let check_js_file fname =
75
75
(* Keep the two variables below in sync with function build_runtime in
76
76
../compile.ml *)
77
77
78
- let default_flags = [ " trap-on-exception" , `B false ]
78
+ let default_flags = [ " trap-on-exception" , `B false ; " exnref " , `B false ]
79
79
80
80
let interesting_runtimes =
81
81
[ [ " effects" , `S " jspi" ; " wasi" , `B false ]
You can’t perform that action at this time.
0 commit comments