Skip to content

Commit

Permalink
OCaml 5.2 is the minimum version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
talex5 committed Nov 30, 2024
1 parent 252fd9b commit 5738eff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion capnp-rpc-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage: "https://github.com/mirage/capnp-rpc"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
doc: "https://mirage.github.io/capnp-rpc/"
depends: [
"ocaml" {>= "5.1"}
"ocaml" {>= "5.2"}
"capnp-rpc" {>= version}
"lwt_eio" {>= "0.5.1"}
"dune" {>= "3.16"}
Expand Down
2 changes: 1 addition & 1 deletion capnp-rpc-net.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage: "https://github.com/mirage/capnp-rpc"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
doc: "https://mirage.github.io/capnp-rpc/"
depends: [
"ocaml" {>= "4.08.0"}
"ocaml" {>= "5.2"}
"conf-capnproto" {build}
"capnp" {>= "3.6.0"}
"capnp-rpc" {= version}
Expand Down
2 changes: 1 addition & 1 deletion capnp-rpc-unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage: "https://github.com/mirage/capnp-rpc"
doc: "https://mirage.github.io/capnp-rpc/"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
depends: [
"ocaml" {>= "4.08.0"}
"ocaml" {>= "5.2"}
"capnp-rpc-net" {= version}
"cmdliner" {>= "1.1.0"}
"cstruct" {>= "6.2.0"}
Expand Down
2 changes: 1 addition & 1 deletion capnp-rpc.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage: "https://github.com/mirage/capnp-rpc"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
doc: "https://mirage.github.io/capnp-rpc/"
depends: [
"ocaml" {>= "4.08.0"}
"ocaml" {>= "5.2"}
"conf-capnproto" {build}
"capnp" {>= "3.6.0"}
"stdint" {>= "0.6.0"}
Expand Down

0 comments on commit 5738eff

Please sign in to comment.