Hello, there’re crates like
curl-sys whose successful build relies on successful run of
configure, which means on Windows and with the
gnu target we’ll need to get
sh.exe and other Unix-style tools to build it successfully. That means that they will normally fail to build under Windows command prompt, (but usually they’re built fine under MSYS2 MINGW64 shells).
I’d imagine a crate called msys2, so other
build.rs scripts can use it to automatically download and install msys2 tools, specify prerequisites so it can automatically install them with
pacman, or run a command within the msys2 environment. I wonder if the community are willing to create and maintain such a crate though. But it would definitely be helpful! Thanks.