mirror of https://github.com/vacp2p/zerokit.git
chore(rln): clippy ignore unsafe
Already wrapped in unsafe block but doesn't seem to work. Whole function can be made unsafe but shouldn't be necessary from what I can tell.
This commit is contained in:
parent
abe67c8d4a
commit
6717a24c07
|
@ -28,6 +28,7 @@ impl<'a> From<&Buffer> for &'a [u8] {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::not_unsafe_ptr_arg_deref)]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn new_circuit(ctx: *mut *mut RLN) -> bool {
|
||||
println!("rln ffi: new");
|
||||
|
@ -38,6 +39,7 @@ pub extern "C" fn new_circuit(ctx: *mut *mut RLN) -> bool {
|
|||
true
|
||||
}
|
||||
|
||||
#[allow(clippy::not_unsafe_ptr_arg_deref)]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn prove(
|
||||
ctx: *const RLN,
|
||||
|
@ -56,6 +58,7 @@ pub extern "C" fn prove(
|
|||
true
|
||||
}
|
||||
|
||||
#[allow(clippy::not_unsafe_ptr_arg_deref)]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn verify(
|
||||
ctx: *const RLN,
|
||||
|
|
Loading…
Reference in New Issue