-
Notifications
You must be signed in to change notification settings - Fork 26
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
String.create: get rid of deprecation warning #112
Conversation
The build is failing for the package which exercises this change: https://travis-ci.org/mirage/ocaml-vchan/jobs/315142527#L2655 Do you have time to revisit this PR? |
Hmm, I am unable to reproduce that build error. |
Ah, it was unrelated to the code change, I think. This is the interface: val Xs_transport_lwt_unix_client.read Lwt_unix.file_descr -> bytes -> int -> int -> int Lwt.t It is building against an old version of |
@cfcs you can add in |
@hannesm yes, I just pushed a commit that does that, waiting for the CI to see if 4.03 users will be happy now :) |
Ah, shit. Well, there's the problem. I don't know how to proceed. @yomimono @hannesm |
it's pretty easy: drop 4.03 support, and require the same 4.04.0 ;) MirageOS anyways requires 4.04.2 these days. |
so you'll need to update the opam files and also |
@hannesm ;) I didn't feel comfortable killing |
@cfcs there, i pushed a commit onto this PR here... not sure why you specified |
Cool! I like upper bounds to prevent breakage (would rather have an unresolvable-constraints-error-in-some-cases-but-works-for-most-users in opam in than broken-for-everyone-until-maintainers-fix-package), but that's just personal preference. |
LGTM |
CHANGES: * Modernise build for OCaml 4.04 and port to Dune (mirage/ocaml-vchan#120 @talex5 @avsm) * Upgrade opam metadata files to 2.0 (mirage/ocaml-vchan#120 @avsm @talex5) * Remove mli only module (mirage/ocaml-vchan#114 @rgrinberg @samoht) * Fix deprecation warning on String.create (mirage/ocaml-vchan#112 @samoht) * Make OCaml 4.04 the minimum version (mirage/ocaml-vchan#111 @cfcs @hannesm) * Update test cases for Mirage 3 (mirage/ocaml-vchan#110 @mneilsen)
CHANGES: * Modernise build for OCaml 4.04 and port to Dune (mirage/ocaml-vchan#120 @talex5 @avsm) * Upgrade opam metadata files to 2.0 (mirage/ocaml-vchan#120 @avsm @talex5) * Remove mli only module (mirage/ocaml-vchan#114 @rgrinberg @samoht) * Fix deprecation warning on String.create (mirage/ocaml-vchan#112 @samoht) * Make OCaml 4.04 the minimum version (mirage/ocaml-vchan#111 @cfcs @hannesm) * Update test cases for Mirage 3 (mirage/ocaml-vchan#110 @mneilsen)
CHANGES: * Modernise build for OCaml 4.04 and port to Dune (mirage/ocaml-vchan#120 @talex5 @avsm) * Upgrade opam metadata files to 2.0 (mirage/ocaml-vchan#120 @avsm @talex5) * Remove mli only module (mirage/ocaml-vchan#114 @rgrinberg @samoht) * Fix deprecation warning on String.create (mirage/ocaml-vchan#112 @samoht) * Make OCaml 4.04 the minimum version (mirage/ocaml-vchan#111 @cfcs @hannesm) * Update test cases for Mirage 3 (mirage/ocaml-vchan#110 @mneilsen)
No description provided.