Multiple ways to specify OSDK new's type

This commit is contained in:
Zhang Junyang
2024-03-25 23:01:12 +08:00
committed by Tate, Hongliang Tian
parent dcab4e1039
commit 3dce753c86
12 changed files with 58 additions and 20 deletions

View File

@ -15,7 +15,7 @@ fn create_a_kernel_project() {
fs::remove_dir_all(&kernel_path).unwrap();
}
cargo_osdk(&["new", "--type", "kernel", kernel])
cargo_osdk(&["new", "--kernel", kernel])
.current_dir(workdir)
.unwrap();