Fix several warnings when ktest is enabled

This commit is contained in:
Yuke Peng
2024-08-15 23:26:29 +08:00
committed by Tate, Hongliang Tian
parent 0f9285d72b
commit 49692c2068
6 changed files with 8 additions and 8 deletions

View File

@ -127,8 +127,6 @@ pub fn call_ostd_main() -> ! {
}
#[cfg(ktest)]
unsafe {
use alloc::boxed::Box;
use crate::task::TaskOptions;
crate::init();