From 4bb7c8764661866b0956d8e77984ae4714427232 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 6 Apr 2024 23:01:33 +0800 Subject: [PATCH] gate loader todo behind feature flag --- loader/src/minielf.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/src/minielf.rs b/loader/src/minielf.rs index 50f8847aa..0d61a502c 100644 --- a/loader/src/minielf.rs +++ b/loader/src/minielf.rs @@ -355,6 +355,7 @@ impl MiniElf { // --- map FLASH pages to virtual memory --- // TODO: handle mapping of swap-located pages to virtual memory + #[cfg(feature = "swap")] todo!("Handle swap-located pages mapping into virtual memory"); while pages_to_map > 0 { let map_phys_addr = (image_phys_base + section_map_phys_offset) & !(PAGE_SIZE - 1);