Skip to content

Commit 52715dc

Browse files
committed
LWT toplevel example: do not generate 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 4e10e29 commit 52715dc

File tree

1 file changed

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

1 file changed

+4
-1
lines changed

toplevel/examples/lwt_toplevel/dune

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
(:standard -linkall))
4040
(modes byte js)
4141
(js_of_ocaml
42-
(link_flags (:standard))
42+
(link_flags
43+
:standard
44+
; The source map would be too large on 32-bit architectures otherwise
45+
--no-source-map)
4346
(build_runtime_flags
4447
(:standard
4548
--file

0 commit comments

Comments
 (0)