Skip to content

fix(stdune): bootstrap with OxCaml trunk - #16589

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:fix-oxcaml-option-bootstrap
Oct 13, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:fix-oxcaml-option-bootstrap

Conversation

@Alizter

@Alizter Alizter commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Inherit Stdlib.Option’s type and constructor representation instead of redeclaring it with a fixed representation. This fixes bootstrap with OxCaml main’s updated option type.

Follow-up to #16582.

CI comparison

Both runs include the CFLAGS fix (#16565) and use OxCaml revision 2a0f110add615cd062940fc610a2d7a8dd534939.

Run Build OxCaml Bootstrap Dune
Before: main (887d8d67) Pass Fail: Option.t constructor representation mismatch
After: this fix (e2d48866) Pass Pass

@Alizter
Alizter force-pushed the fix-oxcaml-option-bootstrap branch 2 times, most recently from f314308 to 2d02a07 Compare October 13, 2026 14:53
@Alizter
Alizter marked this pull request as ready for review October 13, 2026 19:16
@Alizter
Alizter force-pushed the fix-oxcaml-option-bootstrap branch from 2d02a07 to e2d4886 Compare October 13, 2026 19:42
shonfeder added a commit that referenced this pull request Oct 13, 2026
Backport #16582 to 3.25.0-rc: add a fresh Dune bootstrap with OxCaml
main to the existing RC/manual job.

CI-only; does not include the unmerged fix in #16589.
@Alizter
Alizter merged commit 99a7166 into ocaml:main Oct 13, 2026
58 of 59 checks passed
@Alizter
Alizter deleted the fix-oxcaml-option-bootstrap branch October 13, 2026 21:33
Alizter added a commit that referenced this pull request Oct 13, 2026
Alizter added a commit that referenced this pull request Oct 13, 2026
Backport #16589 to `3.25.0-rc` to restore bootstrapping with OxCaml
trunk.
@Alizter Alizter mentioned this pull request Oct 13, 2026
62 tasks done
@Alizter Alizter added this to the 3.26.0 milestone Oct 14, 2026
Alizter added a commit that referenced this pull request Nov 9, 2026
Inherit the standard-library declarations for `Either`, `Result`, and
`Seq` instead of restating constructor representations that changed in
OxCaml `5.4.0-ox15`. Include `Either` in the shared imports to preserve
unqualified constructor access and keep the shared aliases equal to the
standard-library types.

Follow-up to #16589.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants