1[package] 2name = "dragonos_kernel" 3version = "0.1.0" 4edition = "2021" 5 6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 8[lib] 9crate-type = ["staticlib"] 10 11# 运行时依赖项 12[dependencies] 13x86_64 = "0.14.10" 14 15# 构建时依赖项 16[build-dependencies] 17bindgen = "0.61.0" 18 19[dependencies.lazy_static] 20version = "1.4.0" 21# 由于在no_std环境,而lazy_static依赖了spin库,因此需要指定其使用no_std 22features = ["spin_no_std"] 23 24 25