pub struct CheckDeterminismArgs {
pub runs: u32,
pub stages: Option<String>,
pub targets: Option<String>,
pub report: Option<PathBuf>,
pub snapshot: bool,
pub no_snapshot: bool,
pub inject_drift: Option<String>,
pub preserve_dist: Option<PathBuf>,
pub crate_name: Option<String>,
pub require_tools: bool,
}Expand description
Arguments of anodizer check determinism: the run count, the stage and
target filters, preserved-dist reuse, and where the report is written.
Fields§
§runs: u32§stages: Option<String>§targets: Option<String>§report: Option<PathBuf>§snapshot: bool§no_snapshot: bool§inject_drift: Option<String>§preserve_dist: Option<PathBuf>§crate_name: Option<String>§require_tools: boolFail (not warn-skip) if any selected stage’s backing tool is missing — used by CI so a default host-OS run cannot silently skip an OS-native producer.
Without --stages, the harness builds the full host-OS partition
(commands::check::determinism’s default_stages_for_host),
and a host-default stage whose tool is absent normally warn-skips so dev
boxes stay usable. CI provisions every OS-native tool and must treat a
missing one as a hard failure: a silent skip is the exact false coverage
that once hid the installer formats from every release. This flag
promotes the WHOLE resolved stage set to the hard-fail contract that
explicitly typed stages already get.
Trait Implementations§
Source§impl Args for CheckDeterminismArgs
impl Args for CheckDeterminismArgs
Source§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 FromArgMatches for CheckDeterminismArgs
impl FromArgMatches for CheckDeterminismArgs
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.Auto Trait Implementations§
impl Freeze for CheckDeterminismArgs
impl RefUnwindSafe for CheckDeterminismArgs
impl Send for CheckDeterminismArgs
impl Sync for CheckDeterminismArgs
impl Unpin for CheckDeterminismArgs
impl UnsafeUnpin for CheckDeterminismArgs
impl UnwindSafe for CheckDeterminismArgs
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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