Load app from sdcard on K210, but panicked on qemu.

This commit is contained in:
Yifan Wu 2020-12-20 00:52:14 +08:00
parent 760de97155
commit a3802a4b91
18 changed files with 177 additions and 142 deletions

View file

@ -8,6 +8,5 @@ edition = "2018"
[dependencies]
spin = "0.7.0"
#lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
lazy_static = "1.4.0"
rand = "0.8.0"
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
#rand = "0.8.0"

View file

@ -79,6 +79,7 @@ fn easy_fs_pack() -> std::io::Result<()> {
Ok(())
}
/*
#[test]
fn efs_test() -> std::io::Result<()> {
let block_file = Arc::new(BlockFile(Mutex::new(
@ -145,4 +146,5 @@ fn efs_test() -> std::io::Result<()> {
random_str_test((12 + 128) * BLOCK_SZ);
Ok(())
}
}
*/