custom: rename __getrandom_internal to follow Rust conventions (#369)
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ use core::{mem::MaybeUninit, num::NonZeroU32};
|
||||
macro_rules! register_custom_getrandom {
|
||||
($path:path) => {
|
||||
// TODO(MSRV 1.37): change to unnamed block
|
||||
const __getrandom_internal: () = {
|
||||
const __GETRANDOM_INTERNAL: () = {
|
||||
// We use Rust ABI to be safe against potential panics in the passed function.
|
||||
#[no_mangle]
|
||||
unsafe fn __getrandom_custom(dest: *mut u8, len: usize) -> u32 {
|
||||
|
||||
Reference in New Issue
Block a user