From 2aae89aa8bd7d72e34b0ee515970e134e5290951 Mon Sep 17 00:00:00 2001 From: mejrs <59372212+mejrs@users.noreply.github.com> Date: Tue, 3 Nov 2026 11:08:05 +0100 Subject: [PATCH] Remove invalid `no_mangle` attribute --- cpp_macros/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/cpp_macros/src/lib.rs b/cpp_macros/src/lib.rs index a05f412..4b01359 100644 --- a/cpp_macros/src/lib.rs +++ b/cpp_macros/src/lib.rs @@ -324,7 +324,6 @@ NOTE: They cannot be generated by macro expansion."#}) // #rust_cpp_callbacks is in fact an array. Since we cannot represent it in rust, // we just are gonna take the pointer to it can offset from that. extern "C" { - #[no_mangle] static mut #rust_cpp_callbacks: *const ::std::os::raw::c_void; } let callbacks_array : *mut *const ::std::os::raw::c_void = &mut #rust_cpp_callbacks;