Skip to content

Commit fc83e75

Browse files
committed
WIP
1 parent f7ec5d9 commit fc83e75

File tree

1 file changed

+3
-3
lines changed
  • compiler/bin-wasm_of_ocaml/gen

1 file changed

+3
-3
lines changed

compiler/bin-wasm_of_ocaml/gen/gen.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ let () =
44
let () = set_binary_mode_out stdout true in
55
Format.printf
66
"let wasm_runtime = \"%s\"@."
7-
(String.escaped (read_file (open_in Sys.argv.(1))));
7+
(String.escaped (read_file (open_in_bin Sys.argv.(1))));
88
Format.printf
99
"let js_runtime = \"%s\"@."
10-
(String.escaped (read_file (open_in Sys.argv.(2))));
10+
(String.escaped (read_file (open_in_bin Sys.argv.(2))));
1111
Format.printf
1212
"let dependencies = \"%s\"@."
13-
(String.escaped (read_file (open_in Sys.argv.(3))))
13+
(String.escaped (read_file (open_in_bin Sys.argv.(3))))

0 commit comments

Comments
 (0)