OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
2 active · 3 unchanged
oxcaml/opam-repository
PermalinkFixes
-
dune.3.22.2+oxfailed to bootstrap after #5462 changed theOptionparameter type. The patch in #63 was closed unmerged (2026-10-14); the fix landed upstream as #16589. Dune CI gained an OxCaml-main bootstrap job via #16582. -
oxcaml-compiler.5.2.0minus39hit an assertion inutils/warnings.mlduring amake -j17build on macOS 27.0.1/arm64 (#64, opened 2026-10-15, closed 2026-10-16). The failure was not reproducible with-vor in a 10-build loop;5.4.0-ox7built cleanly. No fix was identified.
Compatibility and Releases
-
Dune's OxCaml CI previously checked only that Dune builds with a fixed OxCaml release and that OxCaml main builds with the latest Dune. The gap—whether OxCaml main can build Dune—was acknowledged and a dedicated job added (#16582).
-
#65 (opened 2026-10-16, still open) adds the missing
license: "LGPL-2.0-only WITH OCaml-LGPL-linking-exception"field to fourzarith.1.12+ox*packages, aligning them withzarith.1.14+ox.
oxcaml/oxcaml
PermalinkFeatures
-
Omnidirectional type inference:
-extension omnidirectionality(eager/delayed) defers Tvar defaulting and mode crossing to a scheduler. #7540, #7544 opened; #7418 (Tivar/Ivar/Scheduler) ongoing. -
Never-returning functions carry
Unknownarity in Flambda, enabling layout-polymorphic returns such asassert falsetyped('a : any). #7541, #7545, #7546 opened. -
FDO: new
-fdo-countersflag, counter propagation through Flambda, and function identity via scope path plus body hash. #7530, #7531, #7551, #7553 opened. -
JSIR backend: Smallint, block-index, and stdlib-build support added; ocamltest integration for JSIR tests. #7534, #7581, #7586, #7607 opened.
-
Address patterns (
addr_,addr_imm_) now type-check and translate to lambda. Merged #7456, #7458. Mode crossing for addresses in #7605 (opened).
Fixes
-
TLS state is now per-preemptible-fiber;
Obj_slot.accessreplaces get/set, eliminating crossing requirements. Merged #7399, #7539, #7398. -
Datalog engine: union opcodes, binding-position tracking, parameter-stage folding, and Patricia-tree prefetching. Merged #7596–#7604, #7321.
-
Unboxed products in external calls: complex return arities preserved end-to-end in Flambda2; C struct ABI on x86-64/arm64. Merged #6861; #6862 ongoing.