Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

W42.2026 · 12–18 Oct

OxCaml repository summaries

2 active · 3 unchanged

Back to weekly digest

oxcaml/opam-repository

Permalink

Fixes

  • dune.3.22.2+ox failed to bootstrap after #5462 changed the Option parameter 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.0minus39 hit an assertion in utils/warnings.ml during a make -j17 build on macOS 27.0.1/arm64 (#64, opened 2026-10-15, closed 2026-10-16). The failure was not reproducible with -v or in a 10-build loop; 5.4.0-ox7 built 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 four zarith.1.12+ox* packages, aligning them with zarith.1.14+ox.

oxcaml/oxcaml

Permalink

Features

  • 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 Unknown arity in Flambda, enabling layout-polymorphic returns such as assert false typed ('a : any). #7541, #7545, #7546 opened.

  • FDO: new -fdo-counters flag, 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.access replaces 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.

3 repositories · no changes