crates-build-env icon indicating copy to clipboard operation
crates-build-env copied to clipboard

Missing external dependencies on Windows: libsodium and gnugpg

Open rylev opened this issue 6 years ago • 2 comments

When trying to run the top 100 "crypto" crates, there are two crates that fail to build due to external dependencies, rust_sodium-sys and gpgme-sys which need libsodium and gnupg respectively.

We should consider adding these to the build environment for Windows. Both are made available on Linux.

rylev avatar Jul 25 '19 15:07 rylev

libsodium was added in #11. GPGME isn't available via vcpkg, and doesn't appear to support Windows anyway.

ecstatic-morse avatar Jul 28 '19 18:07 ecstatic-morse

Looks like the build script for rust_sodium-sys needs RUST_SODIUM_LIB_DIR to be set on Windows, otherwise it will try to download the library over the network.

ecstatic-morse avatar Aug 01 '19 16:08 ecstatic-morse