Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ken4647 committed Jan 8, 2025
1 parent 685b495 commit 92c63a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/ruxruntime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion modules/ruxtask/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -959,6 +959,7 @@ extern "C" fn task_entry() -> ! {
crate::exit(0);
}

#[cfg(feature = "notest")]
extern "C" {
fn boot_stack();
}

0 comments on commit 92c63a9

Please sign in to comment.