Thicket thicket
ocaml
REPOS 9

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

W01.2026 · 29 Dec 2025 – 4 Jan 2026ocaml/dune

Features

Dune dune runtest: Merged support for running (tests) and (inline_tests) stanzas via dune runtest, including filtering to a specific module. Fixes #870. (#13064)

Dune enabled_if on packages: Merged (enabled_if ...) field in the (package ...) stanza to conditionally include or exclude packages from the build. Requires lang dune 3.22. (#12905)

Dune --target-exec: Open PR adding --target-exec <toolchain>=<wrapper> and a runexec action for running target binaries on the host during cross-compilation. Configurable per-target in dune-workspace. (#13112)

Dune parser-generator dynamic modules: Merged support for expanding the (modules ..) field in (menhir ..), (ocamllex ..), and (ocamlyacc ..) stanzas, enabling dynamic module names under include_subdirs. (#13157, #13135, #13105)

Fixes

Dune select + include_subdirs: Merged fix so that (select ..) fields correctly resolve modules in subdirectories under both include_subdirs qualified and unqualified. Fixes #12450 and #4383. (#13175)

Dune include_subdirs qualified + data_only_dirs: Merged fix delaying module-name validation until a module is actually included in a group, so directories listed in (data_only_dirs ...) no longer trigger errors. Fixes #7628. (#13156)

Dune Menhir qualified module groups: Merged fix compiling the inferred interface of a Menhir parser within its own module group, resolving unbound sibling-module errors. Fixes #11119. (#13118)

Compatibility and Releases

Dune 3.22 / 3.21.0: Merged bump of the development lang dune version to 3.22. The 3.21.0 release tracker remains open with several cherry-picks pending. New features such as enabled_if on packages target 3.22. (#13089)