ocsigen / js_of_ocaml

Compiler from OCaml to Javascript.
http://ocsigen.org/js_of_ocaml/
Other
952 stars 186 forks source link

[BUG] separate compilation cause runtime duplication when using --toplevel or --dynlink #1604

Closed hhugo closed 5 months ago

hhugo commented 5 months ago

https://github.com/ocsigen/js_of_ocaml/pull/1509 introduced a bug that cause the toplevel compiled with separate compilation to embed the jsoo runtime many times (its total size went from ~53Mo to ~77Mo).