1
0
Fork 0
forked from wry/wry

all: mark no_mangle attribute as unsafe

This commit is contained in:
Julian Orth 2024-10-20 16:25:12 +02:00
parent 1cbbc42c5d
commit 0cbaf4493e
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
#[macro_export]
macro_rules! config {
($f:path) => {
#[no_mangle]
#[unsafe(no_mangle)]
#[used]
pub static mut JAY_CONFIG_ENTRY_V1: $crate::_private::ConfigEntry = {
struct X;