Thicket thicket
ocaml
REPOS 9

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

W39.2025 · 22–28 Sepocaml/dune

Features

  • Dune private modules: PR opened to replace include-flag hiding with OCaml's -H compiler flag for private modules, ensuring the compiler always sees hidden modules. #12511

  • Dune cram tests: Feature request to emit a warning when merge conflict markers (<<<<<<<) are detected in .t files, preventing silent test promotion of conflicted content. #12512

Compatibility and Releases

  • Dune (modes js): Issue closed clarifying that (modes js) is not valid on (library) stanzas; libraries compile to JS without any special declaration. #12503

  • Dune pkg dev tools: Issue opened reporting that dune tools install ocamllsp rebuilds the OCaml compiler from scratch even when the same compiler is already built as a project dependency. #12491

Fixes

  • Dune pkg build time: Merged change removes backtracking from the lockdir parser by selecting portable or non-portable syntax via the solved_for_platforms field, reducing null-build time from ~8 s to ~4 s. #12487

  • Dune melange: Merged fix stops emitting empty .js files for module aliases, eliminating spurious build artifacts. #12464

  • Dune pkg toolchain hash: PR opened to replace Digest.generic with a deterministic package hash for toolchain directory names, preventing duplicate toolchain directories and unnecessary compiler rebuilds. #12495

  • Dune pkg fetch errors: Merged change corrects typos and wording in package fetch error messages. #12490