Skip to content

Commit

Permalink
Flag use-js-string default to false for wasm_of_ocaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Dec 18, 2024
1 parent 1625609 commit 5e8d9b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/lib/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,7 @@ let target () =
let set_target (t : [ `JavaScript | `Wasm ]) =
(match t with
| `JavaScript -> Targetint.set_num_bits 32
| `Wasm -> Targetint.set_num_bits 31);
| `Wasm ->
Targetint.set_num_bits 31;
Flag.disable "use-js-string");
target_ := (t :> [ `JavaScript | `Wasm | `None ])

0 comments on commit 5e8d9b2

Please sign in to comment.