Skip to content

Conversation

@dra27
Copy link

@dra27 dra27 commented Sep 11, 2025

The Dune changes in #54 require a new release of stdcompat for any point releases of OCaml (for example 5.3.1). While 4.07.1 required a minor update, this is very much the exception rather than the rule, and it seems better that the version detection be more liberal. There's also a window on trunk OCaml before anything new is added where the package is still usable.

This change proposes being as liberal as configure.ac - --compiler-version still requires a recognised OCaml version, though.

--compiler-version continues to require an explicitly recognised
version, but allow the build to proceed with unknown compiler versions.
In particular, the list then doesn't need updating on any point release
of existing compiler, and stdcompat can be pinned with a development of
OCaml up to the point where a new function is added.
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.

1 participant