Closed Elfahor closed 2 months ago
Thanks for the detailed report! Right now there is a branch that works with OCaml 5.0 here: https://github.com/zshipko/ocaml-rs/tree/ocaml5 however no attention has been given to working with multiple threads yet.
I believe there are some changes needed to ocaml-interop to improve the compatibility with OCaml 5.0 then I can make a new release.
@zshipko what's the latest on OCaml 5 support for ocaml-rs? I can't seem to find relevant information in README...
Hm, looks like this is the tracking issue in ocaml-interop: https://github.com/tizoc/ocaml-interop/issues/58 which further mentions this MR: https://gitlab.com/ocaml-rust/ocaml-boxroot/-/merge_requests/75, which is still under review (seems like final stages, fingers crossed).
Hey. It seems there have been updates on ocaml-boxroot, now mentioning OCaml 5 in the README: https://gitlab.com/ocaml-rust/ocaml-boxroot. Is there anything we could help with?
Closing this since 1.0 is now released with the latest ocaml-boxroot version
ocaml-rust-starter doesn't work with OCaml 5.0.0 (nor do my personnal projects of course). The issue comes from ocaml-boxroot, of which version 0.2.0 is used as of now. Here is
dune build
's output:Whereas when I compile a Cargo project using
ocaml-boxroot = "0.3.0"
, I don't get any such issue.Hopefully, the solution would be to simply update the dependencies, but I was unable to do it (I tried simply cloning the repo and bumping the version in Cargo.toml but I continues trying to build the 0.2.0 version.).
OCaml version: 5.0.0 Rust version: 1.68.2 (9eb3afe9e 2023-03-27)
Thanks in advance.