mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
Fix the OSDK CI failure
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
fe7251c413
commit
3de8a9330a
@ -2,7 +2,7 @@
|
||||
|
||||
use std::{fs, path::PathBuf};
|
||||
|
||||
use crate::util::cargo_osdk;
|
||||
use crate::util::{cargo_osdk, depends_on_local_ostd};
|
||||
|
||||
#[test]
|
||||
fn create_a_kernel_project() {
|
||||
@ -23,6 +23,8 @@ fn create_a_kernel_project() {
|
||||
assert!(kernel_path.join("Cargo.toml").is_file());
|
||||
assert!(kernel_path.join("rust-toolchain.toml").is_file());
|
||||
|
||||
depends_on_local_ostd(kernel_path.join("Cargo.toml"));
|
||||
|
||||
fs::remove_dir_all(&kernel_path).unwrap();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user