all: mark no_mangle attribute as unsafe
This commit is contained in:
parent
1cbbc42c5d
commit
0cbaf4493e
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue