Thicket thicket
ocaml
REPOS 9

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

W41.2026 · 5–11 Octocaml/dune

Features

  • js_of_ocaml and wasm_of_ocaml whole-program mode now pass -bytecode-hints when linking the bytecode executable, starting with OCaml 5.6. Merged in #16560.
  • Proposed (job_slots ...) rule lets a build compute and expose a slot count via an environment variable for polyglot sub-builds (e.g. Cargo). Requires a dune version bump. Open in #16475.

Compatibility and Releases

  • The installed-package version-gate regression (introduced by #16362) is backported to the 3.25.0-rc branch with its regression test. Merged in #16558.
  • The development ppxlib cap below 0.39 is lifted; Nix flake locks are refreshed and ppxlib 0.39 describe snapshots are promoted. Merged in #16566.

Fixes

  • 3.25.0-rc introduced a ~5× zero-build slowdown and ~9× peak-RSS increase on large Rocq workspaces (7 s → 34 s, 722 MiB → 6.7 GiB). A memoization patch reduces this to 11.5 s / 1.5 GiB; a follow-up alias-based cache brings it to 7.6 s. Open in #16543.
  • Merlin now selects the correct reader for preprocessed filenames without an extension, fixing wrong implementation/interface lookup in editors. Merged in #16536.
  • A SIGKILL after an action writes targets but before _build/.db is saved leaves stale targets that the next build trusts and stores in the shared cache, corrupting downstream builds across workspaces. Open in #16559.
  • Stdlib paths under _build are now localized only when they fall within a registered context, restoring the oxcaml trunk build broken by the sandboxed-stdlib change in #16374. Open in #16563.