mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 10:53:25 +00:00
Fix the OSDK CI failure
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
fe7251c413
commit
3de8a9330a
@ -1,12 +1,10 @@
|
||||
#![no_std]
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
#[cfg_attr(ktest, macro_use)]
|
||||
extern crate ktest;
|
||||
extern crate ostd;
|
||||
|
||||
#[cfg(ktest)]
|
||||
mod tests {
|
||||
use ostd::prelude::*;
|
||||
|
||||
#[ktest]
|
||||
fn it_works() {
|
||||
let memory_regions = ostd::boot::memory_regions();
|
||||
|
@ -42,8 +42,6 @@ fn add_manifest_dependencies(cargo_metadata: &serde_json::Value, crate_name: &st
|
||||
|
||||
let ostd_dep = toml::Table::from_str(&aster_crate_dep("ostd")).unwrap();
|
||||
dependencies.as_table_mut().unwrap().extend(ostd_dep);
|
||||
let ktest_dep = toml::Table::from_str(&aster_crate_dep("ktest")).unwrap();
|
||||
dependencies.as_table_mut().unwrap().extend(ktest_dep);
|
||||
|
||||
let content = toml::to_string(&manifest).unwrap();
|
||||
fs::write(mainfest_path, content).unwrap();
|
||||
|
Reference in New Issue
Block a user