-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to compile with OCaml 5 #125
Comments
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: tizoc/ocaml-interop#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. |
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.
The text was updated successfully, but these errors were encountered: