Skip to content
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

OCaml 5.2 is the minimum version #305

Merged
merged 1 commit into from
Dec 2, 2024
Merged

OCaml 5.2 is the minimum version #305

merged 1 commit into from
Dec 2, 2024

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Nov 30, 2024

5.1 fails with:

File "capnp-rpc/leak_handler.ml", line 1:
Error: The implementation capnp-rpc/leak_handler.ml
       does not match the interface capnp-rpc/.capnp_rpc.objs/byte/capnp_rpc__Leak_handler.cmi:
        Values do not match:
          val run : unit -> unit
        is not included in
          val run : unit -> 'a

Also, we need ipaddr 5.3.0 for with_port_of_string.

@talex5
Copy link
Contributor Author

talex5 commented Nov 30, 2024

(this was not detected by ocaml-ci due to ocurrent/ocaml-ci#987)

5.1 fails with:

    File "capnp-rpc/leak_handler.ml", line 1:
    Error: The implementation capnp-rpc/leak_handler.ml
           does not match the interface capnp-rpc/.capnp_rpc.objs/byte/capnp_rpc__Leak_handler.cmi:
            Values do not match:
              val run : unit -> unit
            is not included in
              val run : unit -> 'a

Also, we need ipaddr 5.3.0 for `with_port_of_string`.
Copy link

@shonfeder shonfeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes and report!

@talex5 talex5 merged commit 8ac82a0 into mirage:master Dec 2, 2024
3 checks passed
@talex5 talex5 deleted the ocaml-5.2 branch December 2, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants