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

cstruct 6.0.0 compatibility #34

Merged
merged 3 commits into from
Apr 4, 2022
Merged

cstruct 6.0.0 compatibility #34

merged 3 commits into from
Apr 4, 2022

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Mar 31, 2022

No description provided.

@hannesm
Copy link
Member Author

hannesm commented Mar 31, 2022

CI is green, anyone happy to review & release //cc @mirage/core

@@ -7,7 +7,7 @@ homepage: "https://github.com/mirage/mirage-channel"
doc: "http://mirage.github.io/mirage-channel/"
bug-reports: "https://github.com/mirage/mirage-channel/issues"
depends: [
"ocaml" {>= "4.06.0"}
"ocaml" {>= "4.07.0"}
Copy link
Member

Choose a reason for hiding this comment

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

What syntax error do you have (just to keep a record if we see the same message in another context)

Copy link
Member Author

Choose a reason for hiding this comment

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

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/test_channel.ml", line 73, characters 4-8:
Error: Syntax error
"/bin/bash" "-c"
"opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1

The contents of test_channel.ml:

    type flow = unit
    type error = |
    type write_error = Mirage_flow.write_error

I suspect it is the type error = |.

@samoht
Copy link
Member

samoht commented Mar 31, 2022

LGTM

@hannesm hannesm merged commit 52d0f04 into mirage:main Apr 4, 2022
@hannesm hannesm deleted the fixes branch April 4, 2022 17:05
hannesm added a commit to hannesm/opam-repository that referenced this pull request Apr 4, 2022
CHANGES:

* Add an optional size limit to `read_line` (mirage/mirage-channel#32 @djs55)
* Redefine type error as private type of polymorphic variant (mirage/mirage-channel#32 @dinosaure)
* Restore compatibility with alcotest 1.4.0 (mirage/mirage-channel#33 @craigfe)
* Update to cstruct 6.0.0 API, remove use of deprecated Cstruct.len (mirage/mirage-channel#34 @hannesm)
hannesm added a commit to hannesm/opam-repository that referenced this pull request Apr 4, 2022
CHANGES:

* Add an optional size limit to `read_line` (mirage/mirage-channel#32 @djs55)
* Redefine type error as private type of polymorphic variant (mirage/mirage-channel#32 @dinosaure)
* Restore compatibility with alcotest 1.4.0 (mirage/mirage-channel#33 @craigfe)
* Update to cstruct 6.0.0 API, remove use of deprecated Cstruct.len (mirage/mirage-channel#34 @hannesm)
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