From 725ce1d24529e3911dc35d08db4cf5acb9ffd06d Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sun, 9 Aug 2026 13:33:24 -0400 Subject: Always emit link section Makes it easier to integrate the package into ThreadX OS builds. I don't have to add another branch for that OS. --- chips/imxrt1160/src/rt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chips/imxrt1160/src') diff --git a/chips/imxrt1160/src/rt.rs b/chips/imxrt1160/src/rt.rs index b132926..afc14d0 100644 --- a/chips/imxrt1160/src/rt.rs +++ b/chips/imxrt1160/src/rt.rs @@ -600,7 +600,7 @@ mod _vectors { _handler: unsafe extern "C" fn(), _reserved: u32, } - #[cfg_attr(target_os = "none", unsafe(link_section = ".vector_table.interrupts"))] + #[unsafe(link_section = ".vector_table.interrupts")] #[unsafe(no_mangle)] pub static __INTERRUPTS: [Vector; 216] = [ Vector { -- cgit v1.2.3