From 97f3d1a224995cb0650bcb9feeb3eb698498dd49 Mon Sep 17 00:00:00 2001 From: QL <35621141+chaosprint@users.noreply.github.com> Date: Sun, 15 Jun 2025 20:35:04 +0200 Subject: [PATCH] fix: picotool attribute needs unsafe --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index dd9af28..b3f458d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -74,7 +74,7 @@ fn main() -> ! { } /// Program metadata for `picotool info` -#[link_section = ".bi_entries"] +#[unsafe(link_section = ".bi_entries")] #[used] pub static PICOTOOL_ENTRIES: [rp235x_hal::binary_info::EntryAddr; 5] = [ rp235x_hal::binary_info::rp_cargo_bin_name!(),