Closed glennsl closed 2 years ago
--debug-info
is still an option in js_of_ocaml
, but only for compile
, not link
The flag issue is actually because of dune 3. Not entirely sure why and how to fix it, as the docs seem to suggest flags
only apply to compile
and there's the separate link_flags
stanza for link
. But downgrading to 2.9.3 fixed it so :shrug:.
I'll still see about fixing the deprecation warnings though.
It's hard to tell which version of js_of_ocaml is targeted since there's no constraints specified for it anywhere that I can find, but I tested with 4.0.0 which resulted in:
and 3.11 which resulted in:
So I'd guess it's still on 2.x? Assuming js_of_ocaml does semantic versioning at least.
In order to make a
tzlocal-js
backend I have to makejs_of_ocaml
an explicit dependency, so it's probably a good time to update this as well.