Skip to content

Commit 49ba98a

Browse files
committed
Fix jsoo_mkcmis
The target and the effect mode was not initialized.
1 parent 5492878 commit 49ba98a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Lib: fix Dom_html.Keyboard_code.of_event (#1878)
2222
* Runtime: fix Int64.of_string overflow check (#1874)
2323
* Runtime: fix caml_string_concat when not using JS strings (#1874)
24-
24+
* Tools: fix jsoo_mktop and jsoo_mkcmis (#1877)
2525

2626
# 6.0.1 (2025-02-07) - Lille
2727

toplevel/bin/jsoo_mkcmis.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ let rec scan_args acc = function
5858
| [] -> List.rev acc
5959

6060
let () =
61+
Js_of_ocaml_compiler.Config.set_target `JavaScript;
62+
Js_of_ocaml_compiler.Config.set_effects_backend `Disabled;
6163
let args = List.tl (Array.to_list Sys.argv) in
6264
let args = scan_args [] args in
6365
let runtime_files, args =

0 commit comments

Comments
 (0)