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.flagsfor library and env stanzas, deprecatingmelange.compile_flags.melange.emitretainscompile_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 buildproceeds without an RPC server when socket creation fails (e.g. under sandbox restrictions).--passive-watch-modestill 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 lockreports "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 runtestnow prints the signal (e.g.SEGV) alongside captured test output in normal and quiet display modes. Merged in #16578, closing #16575.