Skip to content

Commit c87d5d6

Browse files
committed
update
1 parent 6138d67 commit c87d5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nopanic_check/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
1111
}
1212

1313
#[no_mangle]
14-
pub extern "C" fn getrandom_wrapper(buf_ptr: *mut u8, buf_len: usize) -> u32 {
14+
pub extern "C" fn getrandom_wrapper(_: *mut u8, _: usize) -> u32 {
1515
// let buf = unsafe { core::slice::from_raw_parts_mut(buf_ptr.cast(), buf_len) };
1616
// let res = getrandom::getrandom_uninit(buf).map(|_| ());
1717
// unsafe { core::mem::transmute(res) }

0 commit comments

Comments
 (0)