Thicket thicket
ocaml
REPOS 1

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

W46.2025 · 10–16 Novocaml/dune

Features

Dune pkg (portable lockdirs): Portable lock directories are now the default format. Non-portable lockdirs remain supported; dune auto-detects the format. Closes #11476 and #12694. (#12680)

Dune pkg (autolocking): With (pkg enabled) in dune-workspace, dune build resolves and installs dependencies without a prior dune pkg lock. An existing lockdir is still honoured if present. Closes #11614 and #12098. (#12653)

Dune rules (%{cmt}, %{cmti}): New artifact variables %{cmt} and %{cmti} allow rules to reference compiled interface files directly. %{cmti} falls back to the .cmt for modules without a separate .cmti. Closes #12633. (#12634)

Dune (@unused-libs alias): New @unused-libs alias errors when a library or executable links a dependency that is never referenced. An allow_unused_libraries field suppresses the check per stanza. Closes #650. (#12623)

Coq/Rocq (_CoqProject generation): Adding (generate_project_file) to a coq.theory stanza emits a _CoqProject file per theory, enabling editor stepping through Coq sources. Incompatible with per-module flags and multiple theories in one directory. (#11752)

Dune (dune describe tests): New dune describe tests subcommand lists unit, cram, and inline test stanzas with name, source dir, package, enabled status, and actionable build target. Closes #12030. (#12545)

Dune (%{ppx:} pform): New pform %{ppx:lib1+..+libn} references a ppx driver executable produced by dune, simplifying ppx test stanzas. (#12711)

Fixes

Coq/Rocq (modules_flags): (modules_flags ...) now accepts multiple modules in a single coq.theory stanza. The fix is gated behind coq lang 0.11; older lang versions retain the previous single-module restriction. Closes #12638. (#12733)