mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 01:43:22 +00:00
Add protected mode sub-crate for Linux boot setup
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
7d5295ab25
commit
d0c84e0b6f
@ -199,7 +199,7 @@ fn calculate_priority(
|
||||
}
|
||||
|
||||
fn metadata() -> json::JsonValue {
|
||||
let mut cmd = Command::new(env!("CARGO"));
|
||||
let mut cmd = Command::new(std::env::var("CARGO").unwrap());
|
||||
cmd.arg("metadata");
|
||||
cmd.arg("--format-version").arg("1");
|
||||
let output = cmd.output().unwrap();
|
||||
|
Reference in New Issue
Block a user