diff options
| author | Hiroaki Yutani <[email protected]> | 2025-05-06 09:09:22 +0900 |
|---|---|---|
| committer | Hiroaki Yutani <[email protected]> | 2025-05-06 09:09:22 +0900 |
| commit | 0460a924ac06a7dd33b4e50396948ba9bcb5374e (patch) | |
| tree | 8d9dc305d058709557e61674bf28e7ae3637b142 /examples/mimxrt6/build.rs | |
| parent | 93ff90db04f06316f0992b65a0319ebdf74ce5c4 (diff) | |
chore: Wrap link_section attribute with unsafe
Diffstat (limited to 'examples/mimxrt6/build.rs')
| -rw-r--r-- | examples/mimxrt6/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mimxrt6/build.rs b/examples/mimxrt6/build.rs index 9c0ed3213..56010dfd6 100644 --- a/examples/mimxrt6/build.rs +++ b/examples/mimxrt6/build.rs | |||
| @@ -25,7 +25,7 @@ fn main() { | |||
| 25 | .write_all( | 25 | .write_all( |
| 26 | format!( | 26 | format!( |
| 27 | r##" | 27 | r##" |
| 28 | #[link_section = ".biv"] | 28 | #[unsafe(link_section = ".biv")] |
| 29 | #[used] | 29 | #[used] |
| 30 | static BOOT_IMAGE_VERSION: u32 = 0x{:02x}{:02x}{:02x}00; | 30 | static BOOT_IMAGE_VERSION: u32 = 0x{:02x}{:02x}{:02x}00; |
| 31 | "##, | 31 | "##, |
