Skip to content

Commit 645147a

Browse files
authored
Merge pull request hermit-os#66 from hermit-os/rust-2024
feat: upgrade to Rust 2024
2 parents 0492922 + 955a438 commit 645147a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "hermit-entry"
33
version = "0.10.5"
44
authors = ["Martin Kröning <[email protected]>"]
5-
edition = "2021"
5+
edition = "2024"
66
description = "Hermit's loading and entry API."
77
repository = "https://github.com/hermitcore/hermit-entry"
88
license = "MIT OR Apache-2.0"

src/note.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::HermitVersion;
1010
macro_rules! define_entry_version {
1111
() => {
1212
#[used]
13-
#[link_section = ".note.hermit.entry-version"]
13+
#[unsafe(link_section = ".note.hermit.entry-version")]
1414
static ENTRY_VERSION: $crate::_Note = $crate::_Note::entry_version();
1515
};
1616
}

0 commit comments

Comments
 (0)