Skip to content

Extend Instruct.compilation_env heap support to OCaml 4.14.3+#85

Merged
sim642 merged 1 commit intohackwaly:masterfrom
ADSWT518:master
Feb 25, 2026
Merged

Extend Instruct.compilation_env heap support to OCaml 4.14.3+#85
sim642 merged 1 commit intohackwaly:masterfrom
ADSWT518:master

Conversation

@ADSWT518
Copy link
Contributor

@ADSWT518 ADSWT518 commented Feb 25, 2026

The upstream changes in ocaml/ocaml#12222 (originally for OCaml 5.2) have been backported to the 4.14 branch via ocaml/ocaml#13204 and officially released in OCaml 4.14.3.

This PR adapts the conditional compilation guards to enable the new heap support for these versions.

Version Coverage:

  • 4.14.3+: Supported (due to backport)
  • 5.0.x / 5.1.x: Not supported (upstream changes only landed in 5.2+)
  • 5.2.0+: Supported

References:

@hackwaly hackwaly requested a review from sim642 February 25, 2026 14:38
@sim642 sim642 added the enhancement New feature or request label Feb 25, 2026
@sim642
Copy link
Collaborator

sim642 commented Feb 25, 2026

Thanks! This should also fix the nightly CI that recently started failing but I didn't have time to look into it yet.

I tried this locally and it works for 4.14.3, so I'll merge this once the CI passes. Then I can also do a new opam release (and add bounds on old ones).

@sim642 sim642 merged commit bb81c6e into hackwaly:master Feb 25, 2026
16 checks passed
sim642 added a commit to sim642/opam-repository that referenced this pull request Feb 25, 2026
CHANGES:

### Added

* Add OCaml 4.14.3 support (hackwaly/ocamlearlybird#85).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants