zcash-patched-for-explorer/depends/packages
Homu 2c91e3ebc0 Auto merge of #3117 - charlieok:add_windows_rust_package, r=daira
Add filename and SHA256 hash for Windows Rust package

When running `make download` in the `depends` directory, the `download-win` target (which `download` depends on) generates an error when it runs the commands defined in `check_or_remove_sources`:

```Makefile
sha256sum: /home/vagrant/zcash/depends/work/download/rust-1.16.0/..hash: no properly formatted SHA256 checksum lines found
funcs.mk:242: recipe for target '/home/vagrant/gitian-builder/cache/common/download-stamps/.stamp_fetched-rust-.hash' failed
make[1]: *** [/home/vagrant/gitian-builder/cache/common/download-stamps/.stamp_fetched-rust-.hash] Error 1
make[1]: Leaving directory '/home/vagrant/zcash/depends'
Makefile:153: recipe for target 'download-win' failed
make: *** [download-win] Error 2
```

The reason for the error is that `depends/packages/rust.mk` defines `rust_file_name_linux` and `rust_file_name_darwin` but leaves `rust_file_name_mingw32` undefined.

A directory of available rust downloads is here: https://static.rust-lang.org/dist/index.html

The closest windows analog in that list (using the same version number as currently defined in `rust.mk`) appears to be `rust-mingw-1.16.0-x86_64-pc-windows-gnu.tar.gz`. A corresponding sha256 value is also given in `rust-mingw-1.16.0-x86_64-pc-windows-gnu.tar.gz.sha256`.

After adding these values to `rust.mk`, the rust-mingw tar package was downloaded along with the rest of the dependencies and the above error message went away.
2018-03-28 05:31:43 -07:00
..
bdb.mk depends: use c++11 2017-11-29 17:24:59 +00:00
boost.mk depends: Remove -mt suffix from Boost libraries 2018-03-26 16:33:27 +02:00
googletest.mk Replace "install -D" with "mkdir -p && install" 2017-11-29 17:26:47 +00:00
libevent.mk [depends] libevent 2.1.8 2017-03-24 09:03:59 +13:00
libgmp.mk explicitly pass HOST and BUILD to libgmp ./configure 2016-10-19 20:18:03 -07:00
librustzcash.mk Introduce librustzcash and Rust to depends system. 2017-03-17 11:46:41 -06:00
libsodium.mk Update libsodium from 1.0.11 to 1.0.15 2017-11-22 23:16:51 -05:00
native_ccache.mk Upgrade ccache to 3.3.1 2016-09-29 12:34:40 +13:00
openssl.mk add powerpc build support for openssl lib 2017-12-01 14:10:15 +00:00
packages.mk Upgrade googletest to 1.8.0 2017-11-19 14:08:17 -05:00
proton.mk Patch to build Proton with minimal dependencies. 2017-04-28 12:03:37 -07:00
rust.mk Add filename and sha256 hash for windows rust package 2018-03-26 14:52:58 -06:00
zeromq.mk depends: use c++11 2017-11-29 17:24:59 +00:00