Tools covers builds, package management, editors, documentation and JavaScript compilation.
W11.2025 · 10–16 Mar/Tools
Features
js_of_ocaml (PR #1886): Draft proposal for more aggressive lambda lifting in double translation. Reports ~1.45× speedup on a Bonsai benchmark; would be gated behind a flag.
js_of_ocaml (PR #1885): Open proposal to lift only functions with free variables during lambda lifting, avoiding unnecessary wrapper allocation.
opam (issue #6418): Proposal to stop auto-retrieving uncommitted .opam files for VCS-pinned local directories. Users would need --working-dir or a path pin to include uncommitted changes.
dune (discussion #11107): Open discussion to extract Stdune.Ansi_color into a standalone opam package with a t = Style.t list Pp.t type for styled CLI output. No code merged.
Compatibility
odoc (PR #1328): Merged removal of the compatcmdliner shim; odoc now requires cmdliner >= 1.3.0, making it compatible with cmdliner 2.0.
dune (issue #11536): dune passes --personality to pkgconf, an option introduced in pkgconf 1.5.1. Systems shipping pkgconf 1.4.2 (e.g. RHEL 8) fail with "unknown option." No fix merged.
ocaml-lsp (issue #1459): Building ocaml-lsp-server 1.20.1 on FreeBSD 14.2 with OCaml 4.14 fails because the vendored ev.c includes sys/statfs.h, absent on that platform. A fix targeting the 4.14 LTS branch is pending.
Fixes
js_of_ocaml (issue #1868): Fixed assertion failure in double translation when compiling nested exception-unwrapping code. Closed 2025-03-12.
js_of_ocaml (issue #1865): Fixed jsoo_minify crash on code containing a function declaration after a return statement. Closed 2025-03-12.
opam (PR #6422): Open PR adding handling for git remote get-url exit code 2, which previously caused a failure when retrieving the remote URL of a VCS-pinned package.
ocaml-lsp (issue #1330):ocamllsp/switchImplIntf crashes the server when a client sends a bare URI string instead of the expected object. PR #1501 addresses the parameter handling.
ocamlfind (PR #101): Open proposal to add set -e to the configure script so command failures abort the build. Prevents silent failures such as a misconfigured PATH on MSYS2.