Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W34.2026 · 17–23 Augocaml/dune

Features

  • Add dune ocaml inferred-mli MODULE to generate an interface using the module's actual build configuration (preprocessing, deps, opens, flags). Stale or missing interfaces are applied via dune promote. Merged in #16111. Fixes #12727.

  • dune describe workspace now reports each module's origin: source, rule-generated (with dune file and deps), ocamllex, ocamlyacc, menhir, or wrapper. Merged in #15478. Fixes #12998.

  • Sandboxed actions on Linux are now confined with Landlock directory-FD policies, restricting writes to the action sandbox and /dev. Dune 3.25 only; disable with DUNE_CONFIG__LANDLOCK=disabled. Merged in #15858.

  • A joint SAT solver for dune pkg lock solves all requested platforms in one pass, yielding a ~1.75× end-to-end speedup. Proposes removing the portable/non-portable lock-directory distinction. Open in #15982 and #15987.

Fixes

  • Watch mode on macOS no longer stops rebuilding after an fsevents queue overflow, and no longer crashes when a cancelled build's process group returns EPERM. Merged in #16068 and #16059.

  • Merlin now receives CMT annotation paths for private library modules, restoring locate for modules hidden by (private_modules ...). Merged in #15977. Fixes #4892.

  • Rocq native plugins (.cmxs) are now materialized in the package-scoped layout, fixing a regression that broke theory builds with plugins. Merged in #16054. Fixes #16048.

  • dune ocaml top-module, dune ocaml top, dune promote, and dune describe workspace now resolve absolute and subdirectory-relative paths consistently. Merged in #16135, #16142, #16143, #16144.