mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Run OSDK tests in host environment
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
aaf101a53e
commit
951b2f98dd
@ -43,11 +43,7 @@ fn add_manifest_dependencies(cargo_metadata: &serde_json::Value, crate_name: &st
|
||||
dependencies.as_table_mut().unwrap().extend(aster_frame_dep);
|
||||
let ktest_dep = toml::Table::from_str(&aster_crate_dep("ktest")).unwrap();
|
||||
dependencies.as_table_mut().unwrap().extend(ktest_dep);
|
||||
|
||||
// If we created a workspace by `osdk new`, we should exclude the `base` crate from the workspace.
|
||||
// let exclude = toml::Table::from_str(r#"exclude = ["target/osdk/base"]"#).unwrap();
|
||||
// manifest.insert("workspace".to_string(), toml::Value::Table(exclude));
|
||||
|
||||
|
||||
let content = toml::to_string(&manifest).unwrap();
|
||||
fs::write(mainfest_path, content).unwrap();
|
||||
}
|
||||
|
Reference in New Issue
Block a user