Skip to content

Commit

Permalink
Add support for targeting win-arm64
Browse files Browse the repository at this point in the history
The `ring` crate doesn't natively support win-arm64 yet. But a fork adds that support [as described here][workaround].

[workaround]: briansmith/ring#1514 (comment)
  • Loading branch information
AArnott committed Aug 19, 2023
1 parent 9c04e93 commit 5a69773
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ tempdir = "0.3"
portpicker = "0.1"
incrementalmerkletree = { version = "0.4", features = ["test-dependencies"] }

[patch.crates-io]
ring = { git = "https://github.com/awakecoding/ring", branch = "0.16.20_alpha" }

[profile.release]
debug = false

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ cargo build --release

This will launch the interactive prompt. Type `help` to get a list of commands.

## Library:
We currently depend on unreleased patches of `ring` for win-arm64 support, via cargo's patching mechanism.
Because patching only applies at the top level of a project, in order to use this library as a dependency, copy the `[patch.crates-io]` section of `Cargo.toml` into your own workspace `Cargo.toml`

## Notes:
* If you want to run your own server, please see [zingo lightwalletd](https://github.com/zingolabs/lightwalletd), and then run `./zingo-cli --server http://127.0.0.1:9067`
* The default log file is in `~/.zcash/zingo-wallet.debug.log`. A default wallet is stored in `~/.zcash/zingo-wallet.dat`
Expand Down

0 comments on commit 5a69773

Please sign in to comment.