-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Labels
Description
Are there instructions somewhere on how you are supposed to compile a toplevel ? I couldn't find that mentioned on the website.
It seems something changed and my old runes no longer work. For example [1]. I'm not sure why I added a --no-runtime in these. Maybe I can remove that and the corresponding +runtime.js but there is also this +toplevel.js and +dynlink.js that I'm no longer sure about.
Can't all that be solve by simply linking againt the toplevel library maybe ?
[1]:
> '/Users/dbuenzli/.opam/4.14.0/bin/js_of_ocaml'
'-o' '/private/tmp/bla/_b0/brzo/ocaml-top-html/a.js'
'--extern-fs' '--toplevel' '--no-runtime'
'--export' '/private/tmp/bla/_b0/brzo/ocaml-top-html/top_mod_names'
'+runtime.js' '+toplevel.js' '+dynlink.js'
'/private/tmp/bla/_b0/brzo/ocaml-top-html/a.out'
/Users/dbuenzli/.opam/4.14.0/bin/js_of_ocaml: Error: Fl_package_base.No_such_package("runtime.js", "")