mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-19 04:26:39 +00:00
Add --release
option for OSDK
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
c7383ef23d
commit
11ff0521e7
@ -129,9 +129,16 @@ pub struct CargoArgs {
|
||||
#[arg(
|
||||
long,
|
||||
help = "The Cargo build profile (built-in candidates are 'dev', 'release', 'test' and 'bench')",
|
||||
default_value = "dev"
|
||||
default_value = "dev",
|
||||
conflicts_with = "release"
|
||||
)]
|
||||
pub profile: String,
|
||||
#[arg(
|
||||
long,
|
||||
help = "Build artifacts in release mode",
|
||||
conflicts_with = "profile"
|
||||
)]
|
||||
pub release: bool,
|
||||
#[arg(long, value_name = "FEATURES", help = "List of features to activate")]
|
||||
pub features: Vec<String>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user