Skip to content

Commit

Permalink
update hash due to nightly breakage; don't use deprecated bindgen fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
conradoplg committed Mar 1, 2024
1 parent bde6aa1 commit f785f09
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 12 deletions.
46 changes: 35 additions & 11 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn bindgen_headers() -> Result<()> {
.header("depend/zcash/src/script/zcash_script.h")
// Tell cargo to invalidate the built crate whenever any of the
// included header files changed.
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
// Finish the builder and generate the bindings.
.generate()
.map_err(|_| Error::GenerateBindings)?;
Expand Down

0 comments on commit f785f09

Please sign in to comment.