Thicket thicket
ocaml
REPOS 9

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

W42.2026 · 12–18 Octocaml/dune

Features

  • New (job_slots ...) rule lets a build declare how many scheduler slots it consumes, optionally computed by a program. The value is exposed via an environment variable for use by polyglot sub-builds (e.g. Cargo). Merged in #16475.

  • Dune 3.26 adds melange.flags for library and env stanzas, deprecating melange.compile_flags. melange.emit retains compile_flags. Requires (lang dune 3.26). Merged in #16573.

Fixes

  • A (select) in one stanza no longer causes "excluded module doesn't exist" errors in a sibling stanza's (modules :standard \ ...). Fixes a 3.22 regression. Merged in #16639, closing #14085.

  • Rocq plugin-layout dependency sharing eliminates a 3.25.0-RC build-time regression (median 33.8 s → 11.5 s on the Skylabs workspace). Merged in #16622.

  • dune build proceeds without an RPC server when socket creation fails (e.g. under sandbox restrictions). --passive-watch-mode still requires RPC. Merged in #16597.

  • Merlin configuration loading now persists compact per-module records and builds filename indexes at load time, reducing repeated lookups. Merged in #16641 and #16642.

  • dune pkg lock reports "could not fetch revision … from …" instead of "revision not found" when a git fetch fails due to network issues. Merged in #16623, closing #16466.

  • dune runtest now prints the signal (e.g. SEGV) alongside captured test output in normal and quiet display modes. Merged in #16578, closing #16575.