From 92c63a9bc7f4f5c7a779ddf1b6f041d3d8bd7b16 Mon Sep 17 00:00:00 2001 From: WuZheng Date: Wed, 8 Jan 2025 15:58:42 +0000 Subject: [PATCH] fix CI --- modules/ruxruntime/Cargo.toml | 2 +- modules/ruxtask/src/task.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/ruxruntime/Cargo.toml b/modules/ruxruntime/Cargo.toml index d7714c704..d955b48ae 100644 --- a/modules/ruxruntime/Cargo.toml +++ b/modules/ruxruntime/Cargo.toml @@ -37,7 +37,7 @@ signal = ["ruxhal/signal", "ruxtask/signal"] musl = ["dep:ruxfutex"] # for testing -myfs = ["fs", "multitask", "ruxfs/myfs"] +myfs = ["fs", "multitask", "alloc", "ruxfs/myfs", "ruxtask/test"] [dependencies] cfg-if = "1.0" diff --git a/modules/ruxtask/src/task.rs b/modules/ruxtask/src/task.rs index 104a07023..3a836b708 100644 --- a/modules/ruxtask/src/task.rs +++ b/modules/ruxtask/src/task.rs @@ -620,7 +620,7 @@ impl TaskInner { let tls = VirtAddr::from(t.tls.tls_ptr() as usize); #[cfg(not(feature = "tls"))] let tls = VirtAddr::from(0); - + t.set_stack_top(boot_stack as usize, ruxconfig::TASK_STACK_SIZE); t.ctx.get_mut().init( task_entry as usize, @@ -959,6 +959,7 @@ extern "C" fn task_entry() -> ! { crate::exit(0); } +#[cfg(feature = "notest")] extern "C" { fn boot_stack(); }