Not via that, I don’t think - I think that feature’s about being able to debug a Linux application from Visual Studio using WSL2.
Just as a summary of some of the possible future directions, it:
- is possible to invoke MSVC from WSL and so use a WSL distro’s bash instead of Cygwin (some prototyping at Commits · dra27/ocaml · GitHub), but mostly it swaps one frying pan for another… it’s a lot faster, but it’s not simpler
- is possible to compile Windows OCaml without any Unix shell at all (prototyping at Commits · dra27/ocaml · GitHub)
- is possible to cross-compile MSVC from Linux using LLVM (prototyping at Commits · MisterDA/ocaml · GitHub)
- has been possible to cross-compile mingw-w64 from Linux for a long time using GitHub - ocaml-cross/opam-cross-windows: An OCaml cross-toolchain for Windows and several useful libraries