Skip to content

Commit

Permalink
amend! LWT toplevel example: do not generate a source map
Browse files Browse the repository at this point in the history
LWT toplevel example: do not include sources in a source map

Outputting this source map would fail on 32-bit architectures since
its size, once Base64-encoded, would be over the string length limit
of 16 MiB.
  • Loading branch information
vouillon committed Oct 21, 2024
1 parent 073fb2d commit e126a35
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions toplevel/examples/lwt_toplevel/dune
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@
(modes byte js)
(js_of_ocaml
(link_flags
:standard
; The source map would be too large on 32-bit architectures otherwise
--no-source-map)
:standard
--source-map
\
--source-map-inline)
(build_runtime_flags
(:standard
--file
Expand Down

0 comments on commit e126a35

Please sign in to comment.