Skip to content

Add OCaml 5.4 support (WIP)#70

Open
shindere wants to merge 4 commits intoocamllibs:mainfrom
shindere:ocaml-5.4
Open

Add OCaml 5.4 support (WIP)#70
shindere wants to merge 4 commits intoocamllibs:mainfrom
shindere:ocaml-5.4

Conversation

@shindere
Copy link
Collaborator

No description provided.

@shindere shindere changed the title Add OCaml 5.4 support Add OCaml 5.4 support (WIP) Oct 29, 2025
@glondu
Copy link

glondu commented Dec 18, 2025

I had to apply the attached patch to make stdcompat compile with OCaml 5.4.0.
0002-Fix-OCaml-5.4.0-patch.patch

@tmcgilchrist
Copy link

@shindere I think you're only missing a change to stdcompat__format_s.mli.in to add out_width from @glondu patch. Then this change compiles fine with OCaml 5.4.

@shindere
Copy link
Collaborator Author

shindere commented Jan 13, 2026 via email

@glondu
Copy link

glondu commented Mar 2, 2026

I doesn't sound reasonable to condition stdcompat releases on backporting new OCaml features, this blocks its own ecosystem. I think it's fine to work on a best-effort basis and would no be shocked if a release was made without immutable arrays support.

BTW: https://salsa.debian.org/ocaml-team/ocaml-stdcompat/-/commit/174ea901f975a21095287e4cee38c3eba9d5d557

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.

3 participants