pub struct UnstableOpts {Show 15 fields
pub ui_testing: bool,
pub track_diagnostics: bool,
pub parse_yul: bool,
pub no_resolve_imports: bool,
pub dump: Option<Dump>,
pub ast_stats: bool,
pub hir_stats: bool,
pub standard_json_stats: bool,
pub span_visitor: bool,
pub print_max_storage_sizes: bool,
pub print_natspec: bool,
pub typeck: bool,
pub mir_print_after_each: bool,
pub codegen: bool,
pub help: (),
/* private fields */
}Expand description
Internal options.
Fields§
§ui_testing: boolEnables UI testing mode.
track_diagnostics: boolPrints a note for every diagnostic that is emitted with the creation and emission location.
This is enabled by default on debug builds.
parse_yul: boolEnables parsing Yul files for testing.
no_resolve_imports: boolDisables import resolution.
dump: Option<Dump>Print additional information about the compiler’s internal state.
Valid kinds are ast and hir.
ast_stats: boolPrint AST stats.
hir_stats: boolPrint HIR stats.
standard_json_stats: boolPrint Standard JSON input stats.
span_visitor: boolRun the span visitor after parsing.
print_max_storage_sizes: boolPrint contracts’ max storage sizes.
print_natspec: boolPrint resolved NatSpec docs as diagnostics for UI tests.
typeck: boolType check the program. WIP.
mir_print_after_each: boolPrint MIR after every MIR optimization pass during codegen.
codegen: boolEnable the experimental EVM code generator (MIR lowering and backend).
Off by default: MIR and bytecode output is only produced when this is set. Codegen is a work in progress and not yet part of the compiler’s stable, solc-compatible behavior.
help: ()Print help.
Trait Implementations§
Source§impl Args for UnstableOpts
impl Args for UnstableOpts
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 Clone for UnstableOpts
impl Clone for UnstableOpts
Source§fn clone(&self) -> UnstableOpts
fn clone(&self) -> UnstableOpts
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CommandFactory for UnstableOpts
impl CommandFactory for UnstableOpts
Source§impl Debug for UnstableOpts
impl Debug for UnstableOpts
Source§impl Default for UnstableOpts
impl Default for UnstableOpts
Source§fn default() -> UnstableOpts
fn default() -> UnstableOpts
Source§impl FromArgMatches for UnstableOpts
impl FromArgMatches for UnstableOpts
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<UnstableOpts, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<UnstableOpts, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<UnstableOpts, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<UnstableOpts, 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 Parser for UnstableOpts
impl Parser for UnstableOpts
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for UnstableOpts
impl RefUnwindSafe for UnstableOpts
impl Send for UnstableOpts
impl Sync for UnstableOpts
impl Unpin for UnstableOpts
impl UnsafeUnpin for UnstableOpts
impl UnwindSafe for UnstableOpts
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for 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