Skip to content

Commit b19cc7c

Browse files
committed
fix(note): also fix the other macro for Rust Edition 2024
1 parent 645147a commit b19cc7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/note.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct Nhdr32 {
5353
macro_rules! define_abi_tag {
5454
() => {
5555
#[used]
56-
#[link_section = ".note.ABI-tag"]
56+
#[unsafe(link_section = ".note.ABI-tag")]
5757
static ABI_TAG: $crate::_AbiTag = $crate::_AbiTag::new($crate::HermitVersion {
5858
major: $crate::_parse_u128(::core::env!("CARGO_PKG_VERSION_MAJOR")) as u32,
5959
minor: $crate::_parse_u128(::core::env!("CARGO_PKG_VERSION_MINOR")) as u32,

0 commit comments

Comments
 (0)