From 1308930985a43bf26799699474045f89755c59db Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Fri, 1 Sep 2023 03:50:49 -0700 Subject: [PATCH] custom: rename __getrandom_internal to follow Rust conventions (#369) --- src/custom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custom.rs b/src/custom.rs index c9207d0..66e4256 100644 --- a/src/custom.rs +++ b/src/custom.rs @@ -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 {