pub struct BuildIgvmCli<Recipe = OpenhclRecipeCli>{
pub recipe: Recipe,
pub release: 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 components.
Uses –profile=boot-release for openhcl_boot, –profile=openhcl-ship
when building openvmm_hcl, --min-interactive
vtl2 initrd
configuration, -release.json
manifest variant, etc…
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
.Source§impl IntoPipeline for BuildIgvmCli
impl IntoPipeline for BuildIgvmCli
fn into_pipeline(self, backend_hint: PipelineBackendHint) -> Result<Pipeline>
Auto Trait Implementations§
impl<Recipe> Freeze for BuildIgvmCli<Recipe>where
Recipe: Freeze,
impl<Recipe> RefUnwindSafe for BuildIgvmCli<Recipe>where
Recipe: RefUnwindSafe,
impl<Recipe> Send for BuildIgvmCli<Recipe>
impl<Recipe> Sync for BuildIgvmCli<Recipe>
impl<Recipe> Unpin for BuildIgvmCli<Recipe>where
Recipe: Unpin,
impl<Recipe> UnwindSafe for BuildIgvmCli<Recipe>where
Recipe: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more