From 4136e43496fe50dffafddcb86e52a5ed0537a864 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Sun, 23 Feb 2025 09:16:48 +0100 Subject: [PATCH] Update to v2024 --- Cargo.toml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 366de29..4e4368a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust-embassy-template" version = "0.1.0" -edition = "2021" +edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index f5b7ef1..a0788bf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,7 @@ fn panic(_info: &PanicInfo) -> ! { } #[cfg(feature = "rp2350")] -#[link_section = ".start_block"] +#[unsafe(link_section = ".start_block")] #[used] pub static IMAGE_DEF: embassy_rp::block::ImageDef = embassy_rp::block::ImageDef::secure_exe();