Thicket thicket
ocaml
REPOS 1

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

W46.2026 · 9–15 Novocaml/ocaml-lsp

Fixes

  • ocaml-lsp-server 1.26.1 fails to build against stdune ≥ 3.25: Stdune.Pid.of_int was renamed to Pid.of_int_exn (ocaml/dune#15225), and additional API changes in Stdune.Env, Stdune.Spawn, and Stdune.Io break the build. No installable 1.26.x exists for OCaml 5.4 once stdune 3.25 is in the switch. (#2236)

  • Open PR backports the Stdune.Pid removal and replaces remaining stdune 3.25 API calls with standard-library equivalents (Sys.getenv_opt, In_channel.with_open_bin) to restore builds on stdune 3.22–3.25 for the 1.26.x line. Not yet merged. (#2237)

Compatibility and Releases

  • The break affects only the 1.26.x line (OCaml ≥ 5.4 < 5.5). Version 1.27.0 already removed the Stdune.Pid dependency but still calls Unix_env.get with a string argument, so OCaml 5.5 users on stdune 3.25 also hit a type error. (#2236)

  • A maintainer confirmed a compatibility release for OCaml 5.4 is planned; no release date is stated. (#2236)