Closed matthme closed 5 months ago
I just tried it on my Windows laptop with good network conditions, i.e. not in CI, and the same error occurs, leaving me unable to compile libsodium-sys-stable
. I checked via my Browser that the file at the requested URL is available and downloadable. This crate is effectively broken on Windows until this issue is resolved.
As a stopgap solution, are you able to separately download libsodium.dll
from https://download.libsodium.org/ and use the SODIUM_LIB_DIR
environment variable to point to its location while building? I don't have a Windows machine nearby to test this right now.
https://github.com/jedisct1/libsodium-sys-stable/commit/7a9d205df74cf97d6916a257a8bfd25c5ce56505 adds support for a SODIUM_DIST_DIR
environment variable.
Installing libsodium-sys-stable on a Windows github runner times out in roughly 9/10 cases with the following error:
I was wondering whether setting a pretty high explicit timeout on on that get request here would be an acceptable option to work around this?