From 48c6ce7232f9d53329b6b2b710116d44af26f3aa Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 4 May 2025 17:00:08 +0800 Subject: [PATCH] cleanup non-spinor config for xous-swapper this allows us to build configs that aren't in the dev path without errors --- services/xous-swapper/Cargo.toml | 2 +- services/xous-swapper/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/xous-swapper/Cargo.toml b/services/xous-swapper/Cargo.toml index c18515493..9a522e531 100644 --- a/services/xous-swapper/Cargo.toml +++ b/services/xous-swapper/Cargo.toml @@ -56,4 +56,4 @@ oom-doom = [] debug-print-swapper = [] debug-verbose = [] -default = ["spinor"] +default = [] diff --git a/services/xous-swapper/src/main.rs b/services/xous-swapper/src/main.rs index 4579e17ba..9d3673c20 100644 --- a/services/xous-swapper/src/main.rs +++ b/services/xous-swapper/src/main.rs @@ -47,7 +47,7 @@ //! the current `MEMORY_ALLOCATIONS` table into a pre-allocated BinaryHeap in the shared state structure, //! indexed by the timestamp. At this point, the blocking userspace handler can work through a sorted vector //! of allocations to pick the pages it wants to remove. - +#[cfg(feature = "spinor")] mod api; mod debug; mod platform;