fix missing config flag

This commit is contained in:
bunnie 2024-04-01 15:57:50 +08:00
parent 74df4f77dc
commit b3f695dbc2

View file

@ -42,6 +42,7 @@ use xous_kernel::*;
///
/// This is safe to call only to initialize the kernel.
pub unsafe extern "C" fn init(arg_offset: *const u32, init_offset: *const u32, rpt_offset: *mut u32) {
#[cfg(feature = "swap")]
use crate::swap::Swap;
args::KernelArguments::init(arg_offset);