Skip to content

Commit 0759f94

Browse files
authored
Add patches and fix warning re: drop (#374)
1 parent 8319f4b commit 0759f94

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ members = [
55
"snark",
66
]
77

8+
resolver = "2"
9+
810
[profile.release]
911
opt-level = 3
1012
lto = "thin"
@@ -29,3 +31,9 @@ lto = "thin"
2931
incremental = true
3032
debug-assertions = true
3133
debug = true
34+
35+
[patch.crates-io]
36+
ark-ff = { git = "https://github.com/arkworks-rs/algebra/" }
37+
ark-ec = { git = "https://github.com/arkworks-rs/algebra/" }
38+
ark-poly = { git = "https://github.com/arkworks-rs/algebra/" }
39+
ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" }

relations/src/r1cs/constraint_system.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ impl<F: Field> Drop for Namespace<F> {
736736
if let Some(id) = self.id.as_ref() {
737737
tracing::dispatcher::get_default(|dispatch| dispatch.exit(id))
738738
}
739-
drop(&mut self.inner)
739+
let _ = self.inner;
740740
}
741741
}
742742

0 commit comments

Comments
 (0)