Thicket thicket
ocaml
REPOS 1

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

W09.2026 · 23 Feb – 1 Marocaml/dune

Features

Dune Rocq expected-output tests: When a .v file has a corresponding .expected file in a rocq.theory stanza, Rocq stdout is captured and diffed under @runtest. Guarded by (lang rocq 0.12). #13632, #13684.

Dune excluded_modules field (proposal): New (excluded_modules) field for library stanzas. Listed modules compile but are invisible to non-excluded modules, not linked, and not installed. Avoids the recompilation penalty of a second library. #13682.

Dune rev_store tip negotiation: dune pkg git fetches now store references per remote and use --negotiation-tip, avoiding full-history downloads on repeated fetches. #13659. A follow-up (#13698) restricts negotiation to only the relevant remote's tips.

Compatibility and Releases

Dune 3.21 portable lock-dir regression: Switching the default lock format to portable in 3.21 changed depext filtering (undefined variables in filters are kept rather than removed). Workaround: set DUNE_CONFIG__PORTABLE_LOCK_DIR=disabled. Fix targeted for 3.22. #13680.

Dune OpenBSD tar extraction (proposal): PR adds tar-implementation detection via --version and passes explicit -z/-j flags when the local tar cannot auto-detect compression. Fixes package extraction on OpenBSD. #13688, #10123.

Dune 3.21.1 released: Release tracker closed 2026-02-24. #13557. The 3.22.0 release tracker is open with the portable-lock regression as a known blocker. #13674.

Fixes

Dune C stubs header dependency: C stub compilation rules now declare dependencies on the actual *.h files in the OCaml include directory rather than only the directory path. Switching compilers within the same prefix triggers a rebuild. Fixes stale-cache failures. #13652, closes #13651.

Dune install cycle crash: dune build @install no longer hangs or crashes when multiple install stanzas target the same share directory. The dependency-cycle traversal no longer follows self-references. #13692, fixes #5771.

Dune error-message log path: Internal-error messages now direct users to _build/trace.csexp instead of the removed _build/log. #13683, closes #13679.