mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-19 20:46:35 +00:00
Fix OSDK feature selection
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
faacb68210
commit
f9ac2ee498
@ -26,7 +26,7 @@ pub fn main() {
|
||||
};
|
||||
|
||||
let load_config = || {
|
||||
let manifest = TomlManifest::load(&common_args.build_args.features);
|
||||
let manifest = TomlManifest::load();
|
||||
let scheme = manifest.get_scheme(common_args.scheme.as_ref());
|
||||
Config::new(scheme, &common_args)
|
||||
};
|
||||
@ -233,6 +233,8 @@ pub struct CargoArgs {
|
||||
global = true,
|
||||
)]
|
||||
pub features: Vec<String>,
|
||||
#[arg(long, help = "Do not activate the `default` features", global = true)]
|
||||
pub no_default_features: bool,
|
||||
}
|
||||
|
||||
impl CargoArgs {
|
||||
|
Reference in New Issue
Block a user