Thicket thicket
ocaml
REPOS 9

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

W09.2026 · 23 Feb – 1 Mar

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

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.

ocaml/merlin

Permalink

Features

  • Merlin enclosing command: adds a -stop flag to limit traversal depth, enabling LSP extensions like locate-types and annotate-type to target sub-expressions rather than only the outermost enclosing item. (#2029, merged)

Compatibility and Releases

  • Merlin v5.7-505~preview: released 2026-02-27; includes locate-types result refinements, a record-field autocompletion fix, and a signature-help loop fix. (release)
  • Merlin portability: open proposal to define PATH_MAX as 8192 when the platform does not provide it, improving portability across systems. (#2039, open)

Fixes

  • Merlin signature help: corrects incorrect parameter binding for let..in expressions so signature help no longer misattributes bindings. (#2036, merged)
  • Merlin MSVC build: resolves a Winsock1/Winsock2 header conflict that broke compilation with OCaml 5.4 on Windows. (#2038, merged)

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: merged PR handling a new enclosing parameter from merlin (#1590, #2029). Merged 2026-02-26.

Compatibility and Releases

  • ocaml-lsp: open issue reporting that Reason doc comments do not appear in hover or autocomplete, only the signature is shown (#1589). Opened 2026-02-24; no fix merged in this interval.

ocaml/odoc

Permalink

Fixes

  • odoc PR #1402: two bugfixes opened by jonludlam, noted as important for upcoming dune rules. The PR is open and unmerged; specific changes are not detailed in the record. Link

ocaml/opam

Permalink

Fixes

  • opam (issue #6861): A second opam switch create on macOS fails during compiler cloning with "cannot create temp file for here document: Operation not permitted." Open; no fix yet. (#6861)

Compatibility and Releases

  • opam (PR #6862): Proposes setting _WIN32_WINNT to the Windows 8.1 constant so GetCurrentProcessToken resolves under MSYS2, fixing a vendored-build failure. Open; not yet merged. (#6862)

ocaml/opam-file-format

Permalink

Compatibility and Releases

  • opam-file-format: Open issue reports the README omits menhir as a build dependency; building 2.2.0 fails with "Program menhir not found" when only dune is installed. #64

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (PR #2177): Adds --build-config to print compiler settings as key=value pairs and --apply-build-config to override them, ensuring linked units share consistent settings. Open, not yet merged.
  • js_of_ocaml (PR #1831): Produces WASI binaries via wasm_of_ocaml --enable wasi, runnable by Wizard or wasmtime (with --enable exnref). Still open and labelled blocked.
  • js_of_ocaml (PR #2189): Implements Wasm native effects using the Stack Switching proposal. Open, not yet merged.
  • js_of_ocaml (PR #2187): Adds Dynlink and toplevel support to the Wasm backend. Open, not yet merged.

Fixes

  • js_of_ocaml 6.3.2 (issue #2190): Build fails on Debian Bookworm because the system binaryen package lacks wasm-merge. Workaround: install binaryen-bin via opam or use a newer distribution.
  • js_of_ocaml (PR #2191): Adds a check that Binaryen ≥ 119 is available before linking Wasm, addressing the missing wasm-merge failure. Open, not yet merged.
  • js_of_ocaml (PR #2192): Runtime fixes for the Wasm backend. Open; no further detail provided.

Compatibility

  • js_of_ocaml (issue #2142): Tracks support for OCaml trunk, referencing #14469 and #14580. Open, updated during the interval.
2 repositories · no changes