Tools covers builds, package management, editors, documentation and JavaScript compilation.
W43.2026 · 19–25 Oct/ocaml/dune
Features
#16760 (open, Dune 3.26): RPC-backed rule plugins let a project define custom stanza-like forms via an OCaml program linked against dune-rules-plugin. Requires (lang dune 3.26) and (using plugin 0.1).
#16773 (open, Dune 3.26): Melange 1.0 is enabled by default in Dune language 3.26. Explicit declarations and older-language behavior are preserved.
Fixes
#16622 (merged) / #16647 (merged to 3.25-rc): Share Rocq plugin-layout dependency hashes across discovery, compilation, and extraction. Reduces 3.25.0-RC zero-build time from ~64 s to ~13 s and peak RSS from ~6.7 GiB to ~1.4 GiB on the Skylabs workspace.
#16617 (closed): 3.25.0~alpha0 no longer exports OCAMLPATH to actions, breaking opam install -t for packages that resolve libraries by name. Upstream fixes submitted to hxd, GT, and bogue; opam-repo upper bounds added.
#16675 (merged): Hardlink sandboxes now handle directory dependencies by applying the hardlink mode only to files, avoiding hardlinks to directories.
#16646 (merged): The _build/.db digest cache is unlinked when marked dirty, so a SIGKILL leaves no stale cache. Fixes #16559.
#16704 (merged): Generated aliases pass -intf-suffix .dummy-ignore-mli so an unrelated same-named .mli in the build directory no longer breaks compilation. Fixes #5267.
#16623 (merged): dune pkg lock reports "could not fetch revision" instead of "revision not found" when a git fetch fails due to network issues. Fixes #16466.