Fixes
-
ocaml-lsp-server 1.26.1 fails to build against stdune ≥ 3.25:
Stdune.Pid.of_intwas renamed toPid.of_int_exn(ocaml/dune#15225), and additional API changes inStdune.Env,Stdune.Spawn, andStdune.Iobreak 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.Pidremoval 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.Piddependency but still callsUnix_env.getwith 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)