Skip to content

Commit

Permalink
fixup! Dynlink: prepare for ocaml 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Sep 28, 2023
1 parent dcbe48d commit 2958322
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/toplevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function caml_reify_bytecode (code, debug,_digest) {
code = new Uint8Array(len);
for(var i = 0, len = 0; i < all.length; i++){
code.set(all[i], len);
len += all[i].length;
}
code = caml_string_of_array(code);
return [0, 0, caml_callback(globalThis.toplevelCompile, [code,debug])];
Expand Down

0 comments on commit 2958322

Please sign in to comment.