pub struct BuildIgvmCli<Recipe = OpenhclRecipeCli>{
pub recipe: Recipe,
pub release: bool,
pub release_cfg: bool,
pub verbose: bool,
pub locked: bool,
pub install_missing_deps: bool,
pub customizations: BuildIgvmCliCustomizations,
}
Expand description
Build OpenHCL IGVM files for local development. DO NOT USE IN CI.
Fields§
§recipe: Recipe
Specify which OpenHCL recipe to build / customize off-of.
A “recipe” corresponds to the various standard IGVM SKUs that are actively supported and tested in our build infrastructure.
It encodes all the details of what goes into an individual IGVM file,
such as what build flags openvmm_hcl
should be built with, what goes
into a VTL2 initrd, what igvmfilegen
manifest is being used, etc…
release: bool
Build using release variants of all constituent binary components.
Uses –profile=boot-release for openhcl_boot, –profile=openhcl-ship when building openvmm_hcl, etc…
release_cfg: bool
Configure the IGVM file with the appropriate -release.json
manifest variant, and disable debug-only features.
verbose: bool
pass --verbose
to cargo
locked: bool
pass --locked
to cargo
install_missing_deps: bool
Automatically install any missing required dependencies.
customizations: BuildIgvmCliCustomizations
Trait Implementations§
Source§impl<Recipe> Args for BuildIgvmCli<Recipe>
impl<Recipe> Args for BuildIgvmCli<Recipe>
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moreSource§impl<Recipe> FromArgMatches for BuildIgvmCli<Recipe>
impl<Recipe> FromArgMatches for BuildIgvmCli<Recipe>
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches
to self
.