Update proper dep for builder in OSDK and allow publishing

This commit is contained in:
Zhang Junyang
2024-04-25 10:07:14 +08:00
committed by Tate, Hongliang Tian
parent bd0611f1e3
commit 57f4ed778d
8 changed files with 31 additions and 6 deletions

View File

@ -14,7 +14,8 @@ use quote::ToTokens;
/// FIXME: We should publish the asterinas crates to a public registry
/// and use the published version in the generated Cargo.toml.
pub const ASTER_GIT_LINK: &str = "https://github.com/asterinas/asterinas";
pub const ASTER_GIT_REV: &str = "1069006";
/// Make sure it syncs with the builder dependency in Cargo.toml.
pub const ASTER_GIT_REV: &str = "cc4111c";
pub fn aster_crate_dep(crate_name: &str) -> String {
format!(
"{} = {{ git = \"{}\", rev = \"{}\" }}",