Skip to content

Commit e126a35

Browse files
committed
amend! LWT toplevel example: do not generate a source map
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.
1 parent 073fb2d commit e126a35

File tree

1 file changed

+4
-2
lines changed
  • toplevel/examples/lwt_toplevel

1 file changed

+4
-2
lines changed

toplevel/examples/lwt_toplevel/dune

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@
4040
(modes byte js)
4141
(js_of_ocaml
4242
(link_flags
43-
:standard
4443
; The source map would be too large on 32-bit architectures otherwise
45-
--no-source-map)
44+
:standard
45+
--source-map
46+
\
47+
--source-map-inline)
4648
(build_runtime_flags
4749
(:standard
4850
--file

0 commit comments

Comments
 (0)