Skip to content

Commit

Permalink
Add patches and fix warning re: drop (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratyush committed Jan 7, 2024
1 parent 8319f4b commit 0759f94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ members = [
"snark",
]

resolver = "2"

[profile.release]
opt-level = 3
lto = "thin"
Expand All @@ -29,3 +31,9 @@ lto = "thin"
incremental = true
debug-assertions = true
debug = true

[patch.crates-io]
ark-ff = { git = "https://github.com/arkworks-rs/algebra/" }
ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }
ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }
2 changes: 1 addition & 1 deletion relations/src/r1cs/constraint_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ impl<F: Field> Drop for Namespace<F> {
if let Some(id) = self.id.as_ref() {
tracing::dispatcher::get_default(|dispatch| dispatch.exit(id))
}
drop(&mut self.inner)
let _ = self.inner;
}
}

Expand Down

0 comments on commit 0759f94

Please sign in to comment.