Skip to content

Commit 1308930

Browse files
authored
custom: rename __getrandom_internal to follow Rust conventions (#369)
1 parent 2e483d6 commit 1308930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/custom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ use core::{mem::MaybeUninit, num::NonZeroU32};
7777
macro_rules! register_custom_getrandom {
7878
($path:path) => {
7979
// TODO(MSRV 1.37): change to unnamed block
80-
const __getrandom_internal: () = {
80+
const __GETRANDOM_INTERNAL: () = {
8181
// We use Rust ABI to be safe against potential panics in the passed function.
8282
#[no_mangle]
8383
unsafe fn __getrandom_custom(dest: *mut u8, len: usize) -> u32 {

0 commit comments

Comments
 (0)