Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg committed Apr 10, 2024
1 parent a76bb8f commit 534bf80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/jslib/wast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let () =
let bs =
match def.Source.it with
| Script.Textual (m, cs) -> Encode.encode_with_custom (m, cs)
| Script.Encoded (_, bs) -> bs
| Script.Encoded (_, bs) -> bs.Source.it
| Script.Quoted (_, _) -> failwith "Unsupported" in
let buf = new%js Typed_array.arrayBuffer (String.length bs) in
let u8arr = new%js Typed_array.uint8Array_fromBuffer buf in
Expand Down

0 comments on commit 534bf80

Please sign in to comment.