-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
stdlib-shims: fails to build on 4.12.0+trunk #16983
Conversation
upstream fix proposed at ocaml/stdlib-shims#17
This was fixed in Dune in ocaml/dune#3576 |
Sounds like we need to conflict this with dune < 2.7 and ocaml <4.12 then |
I'm curious whether dune < 2.7.0 should require ocaml < 4.12.0, and not bother with constraining stdlib-shims at all... since it looks to me that more packages (all with empty modules) will encounter this issue... |
@hannesm is correct! Are you aware of any packages which would be affected by this change, though - it's not empty modules, but empty libraries (i.e. a library with no modules) |
We'll find this out soon enough when we start doing bulk tests on 4.12. I suspect the current restriction is fine, and we can apply the big dune restriction if there turn out to be a non-trivial number of affected packages. |
Co-authored-by: David Allsopp <david.allsopp@metastack.com>
Should we merge this or you prefer to wait? In the end it is a small change to keep the issue under control, it seems a reasonable start |
Agreed. I'll merge go ahead and merge this, and it can be tested with #17005 |
upstream fix proposed at ocaml/stdlib-shims#17