Readme says cargo just needs git to build on windows... #8190
Labels
A-cargo-api
Area: cargo-the-library API and internal code issues
C-bug
Category: bug
O-windows
OS: Windows
Problem
Quite a few crates use cargo as a dependency. As such it would be great if cargo built on windows easily (we use the msvc toolchain).
But when you build something depending on the cargo crate in windows 10 you get:
Caused by:
process didn't exit successfully:
C:\DEVELO~1\Temp\cargo-installR7sgTS\release\build\libz-sys-c5dba26ec57df1d6\build-script-build
(exit code: 1)--- stdout
cargo:rerun-if-env-changed=LIBZ_SYS_STATIC
cargo:rerun-if-changed=build.rs
note, vcpkg did not find zlib: Aborted because VCPKGRS_DYNAMIC is not set
Steps to reproduce
Should we be manually building vcpkg and then downloading some packages for it? It's not clear how we should be building this in windows.
Possible Solutions
A pure rust zip crate instead as a dependency is the long term solution.
Give additional guidance on the readme as to how to build on windows.
The text was updated successfully, but these errors were encountered: