We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6138d67 commit c87d5d6Copy full SHA for c87d5d6
nopanic_check/src/lib.rs
@@ -11,7 +11,7 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
11
}
12
13
#[no_mangle]
14
-pub extern "C" fn getrandom_wrapper(buf_ptr: *mut u8, buf_len: usize) -> u32 {
+pub extern "C" fn getrandom_wrapper(_: *mut u8, _: usize) -> u32 {
15
// let buf = unsafe { core::slice::from_raw_parts_mut(buf_ptr.cast(), buf_len) };
16
// let res = getrandom::getrandom_uninit(buf).map(|_| ());
17
// unsafe { core::mem::transmute(res) }
0 commit comments