Skip to content

Commit 2288d66

Browse files
vouillonhhugo
authored andcommitted
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 ff3367a commit 2288d66

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

toplevel/examples/lwt_toplevel/dune

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939
(:standard -linkall))
4040
(modes byte js)
4141
(js_of_ocaml
42-
(link_flags (:standard))
42+
(link_flags
43+
:standard
44+
; We use the generated file in the doc. Let's not bloat it with sourcemap.
45+
; Plus, the source map would be too large on 32-bit architectures
46+
--no-source-map)
4347
(build_runtime_flags
4448
(:standard
4549
--file

0 commit comments

Comments
 (0)