From 7181dbdd9fdce06e874310746bd34361b188370e Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Tue, 2 Jan 2024 23:15:22 -0800 Subject: [PATCH] Remove unused attrs on Pg_magic_func These seem to be fully redundant. --- pgrx/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/pgrx/src/lib.rs b/pgrx/src/lib.rs index 05e8f0153..6f74fd548 100644 --- a/pgrx/src/lib.rs +++ b/pgrx/src/lib.rs @@ -225,8 +225,6 @@ macro_rules! pg_magic_func { () => { #[no_mangle] #[allow(non_snake_case)] - #[allow(unused)] - #[link_name = "Pg_magic_func"] #[doc(hidden)] pub extern "C" fn Pg_magic_func() -> &'static ::pgrx::pg_sys::Pg_magic_struct { static MY_MAGIC: ::pgrx::pg_sys::Pg_magic_struct = ::pgrx::pg_sys::Pg_magic_struct {