Features
-
Add
dune ocaml inferred-mli MODULEto generate an interface using the module's actual build configuration (preprocessing, deps, opens, flags). Stale or missing interfaces are applied viadune promote. Merged in #16111. Fixes #12727. -
dune describe workspacenow 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 withDUNE_CONFIG__LANDLOCK=disabled. Merged in #15858. -
A joint SAT solver for
dune pkg locksolves 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, anddune describe workspacenow resolve absolute and subdirectory-relative paths consistently. Merged in #16135, #16142, #16143, #16144.