Closed MisterDA closed 1 year ago
The CI failure will be fixed by #24 .
LGTM. Just a question why not having
ocaml >= 4.14.0
forsolver-service-api
too ?
Well strictly speaking it's the other packages that require 4.14 for Unix domain sockets on Windows, but yeah I can add it everywhere.
Having an ocaml 4.14 constraint should fix the CI issue. Both places we want to use this will also be OCaml 4.14 or newer.
On Windows, using a socket as standard input file descriptor is daring. Even if it may be possible, Lwt will currently outright reject it. We can, instead of passing a file descriptor to the spawned process, pass the address of the UNIX domain socket as an argument so that the sub process may open a socket itself and connect to that address.
UNIX domain sockets are supported on Windows 10 and OCaml 4.14.