Skip to content

Commit

Permalink
Fix a nightly compile error by patching lexical-core to 0.7.5
Browse files Browse the repository at this point in the history
lexical-core 0.7.4 is incompatible with rustc nightly >= ~2021-03-24,
see rust-lang/rust#81654

While we're waiting for zcash_script, rocksdb, and their dependencies to
upgrade, patch lexical-core to 0.7.5 in the zebra workspace.
  • Loading branch information
teor2345 authored and dconnolly committed Apr 15, 2021
1 parent 370d048 commit 3cb88c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ hyper = { git = "https://github.com/hyperium/hyper", rev = "ed2b22a7f66899d33869
metrics = { git = "https://github.com/ZcashFoundation/metrics", rev = "971133128e5aebe3ad177acffc6154449736cfa2" }
metrics-exporter-prometheus = { git = "https://github.com/ZcashFoundation/metrics", rev = "971133128e5aebe3ad177acffc6154449736cfa2" }
tower = { git = "https://github.com/tower-rs/tower", rev = "d4d1c67c6a0e4213a52abcc2b9df6cc58276ee39" }

# lexical-core 0.7.4 is incompatible with rustc nightly >= ~2021-03-24
# https://github.com/rust-lang/rust/issues/81654
# remove when zcash_script and rocksdb transitively depend on lexical-core >= 0.7.5
lexical-core = { git = "https://github.com/Alexhuszagh/rust-lexical", rev = "601c9bfe16c944948d4c4a07e3c67878d72f6445" }

0 comments on commit 3cb88c0

Please sign in to comment.