[][src]Struct rustc_ap_rustc_session::config::DebuggingOptions

pub struct DebuggingOptions {
    pub codegen_backend: Option<String>,
    pub verbose: bool,
    pub span_free_formats: bool,
    pub identify_regions: bool,
    pub borrowck: Option<String>,
    pub time_passes: bool,
    pub time: bool,
    pub time_llvm_passes: bool,
    pub llvm_time_trace: bool,
    pub input_stats: bool,
    pub asm_comments: bool,
    pub verify_llvm_ir: bool,
    pub borrowck_stats: bool,
    pub no_landing_pads: bool,
    pub fewer_names: bool,
    pub meta_stats: bool,
    pub print_link_args: bool,
    pub print_llvm_passes: bool,
    pub ast_json: bool,
    pub threads: usize,
    pub ast_json_noexpand: bool,
    pub ls: bool,
    pub save_analysis: bool,
    pub print_region_graph: bool,
    pub parse_only: bool,
    pub dual_proc_macros: bool,
    pub no_codegen: bool,
    pub treat_err_as_bug: Option<usize>,
    pub report_delayed_bugs: bool,
    pub external_macro_backtrace: bool,
    pub teach: bool,
    pub terminal_width: Option<usize>,
    pub panic_abort_tests: bool,
    pub dep_tasks: bool,
    pub incremental: Option<String>,
    pub incremental_queries: bool,
    pub incremental_info: bool,
    pub incremental_dump_hash: bool,
    pub incremental_verify_ich: bool,
    pub incremental_ignore_spans: bool,
    pub instrument_mcount: bool,
    pub dump_dep_graph: bool,
    pub query_dep_graph: bool,
    pub no_analysis: bool,
    pub unstable_options: bool,
    pub force_overflow_checks: Option<bool>,
    pub trace_macros: bool,
    pub debug_macros: bool,
    pub generate_arange_section: bool,
    pub keep_hygiene_data: bool,
    pub keep_ast: bool,
    pub show_span: Option<String>,
    pub print_type_sizes: bool,
    pub print_mono_items: Option<String>,
    pub mir_opt_level: usize,
    pub mutable_noalias: Option<bool>,
    pub dump_mir: Option<String>,
    pub dump_mir_dir: String,
    pub dump_mir_graphviz: bool,
    pub dump_mir_exclude_pass_number: bool,
    pub mir_emit_retag: bool,
    pub perf_stats: bool,
    pub query_stats: bool,
    pub hir_stats: bool,
    pub always_encode_mir: bool,
    pub json_rendered: Option<String>,
    pub unleash_the_miri_inside_of_you: bool,
    pub osx_rpath_install_name: bool,
    pub sanitizer: Option<Sanitizer>,
    pub sanitizer_recover: Vec<Sanitizer>,
    pub sanitizer_memory_track_origins: usize,
    pub fuel: Option<(String, u64)>,
    pub print_fuel: Option<String>,
    pub force_unstable_if_unmarked: bool,
    pub pre_link_arg: Vec<String>,
    pub pre_link_args: Option<Vec<String>>,
    pub profile: bool,
    pub relro_level: Option<RelroLevel>,
    pub nll_facts: bool,
    pub dont_buffer_diagnostics: bool,
    pub polonius: bool,
    pub codegen_time_graph: bool,
    pub thinlto: Option<bool>,
    pub inline_in_all_cgus: Option<bool>,
    pub tls_model: Option<String>,
    pub saturating_float_casts: bool,
    pub human_readable_cgu_names: bool,
    pub dep_info_omit_d_target: bool,
    pub unpretty: Option<String>,
    pub run_dsymutil: Option<bool>,
    pub ui_testing: Option<bool>,
    pub embed_bitcode: bool,
    pub strip_debuginfo_if_disabled: Option<bool>,
    pub share_generics: Option<bool>,
    pub chalk: bool,
    pub no_parallel_llvm: bool,
    pub no_leak_check: bool,
    pub no_interleave_lints: bool,
    pub crate_attr: Vec<String>,
    pub self_profile: SwitchWithOptPath,
    pub self_profile_events: Option<Vec<String>>,
    pub emit_stack_sizes: bool,
    pub plt: Option<bool>,
    pub merge_functions: Option<MergeFunctions>,
    pub allow_features: Option<Vec<String>>,
    pub symbol_mangling_version: SymbolManglingVersion,
    pub binary_dep_depinfo: bool,
    pub insert_sideeffect: bool,
    pub deduplicate_diagnostics: Option<bool>,
    pub control_flow_guard: CFGuard,
    pub no_link: bool,
}

Fields

codegen_backend: Option<String>verbose: boolspan_free_formats: boolidentify_regions: boolborrowck: Option<String>time_passes: booltime: booltime_llvm_passes: boolllvm_time_trace: boolinput_stats: boolasm_comments: boolverify_llvm_ir: boolborrowck_stats: boolno_landing_pads: boolfewer_names: boolmeta_stats: boolprint_link_args: boolprint_llvm_passes: boolast_json: boolthreads: usizeast_json_noexpand: boolls: boolsave_analysis: boolprint_region_graph: boolparse_only: booldual_proc_macros: boolno_codegen: booltreat_err_as_bug: Option<usize>report_delayed_bugs: boolexternal_macro_backtrace: boolteach: boolterminal_width: Option<usize>panic_abort_tests: booldep_tasks: boolincremental: Option<String>incremental_queries: boolincremental_info: boolincremental_dump_hash: boolincremental_verify_ich: boolincremental_ignore_spans: boolinstrument_mcount: booldump_dep_graph: boolquery_dep_graph: boolno_analysis: boolunstable_options: boolforce_overflow_checks: Option<bool>trace_macros: booldebug_macros: boolgenerate_arange_section: boolkeep_hygiene_data: boolkeep_ast: boolshow_span: Option<String>print_type_sizes: boolprint_mono_items: Option<String>mir_opt_level: usizemutable_noalias: Option<bool>dump_mir: Option<String>dump_mir_dir: Stringdump_mir_graphviz: booldump_mir_exclude_pass_number: boolmir_emit_retag: boolperf_stats: boolquery_stats: boolhir_stats: boolalways_encode_mir: booljson_rendered: Option<String>unleash_the_miri_inside_of_you: boolosx_rpath_install_name: boolsanitizer: Option<Sanitizer>sanitizer_recover: Vec<Sanitizer>sanitizer_memory_track_origins: usizefuel: Option<(String, u64)>print_fuel: Option<String>force_unstable_if_unmarked: boolpre_link_arg: Vec<String>pre_link_args: Option<Vec<String>>profile: boolrelro_level: Option<RelroLevel>nll_facts: booldont_buffer_diagnostics: boolpolonius: boolcodegen_time_graph: boolthinlto: Option<bool>inline_in_all_cgus: Option<bool>tls_model: Option<String>saturating_float_casts: boolhuman_readable_cgu_names: booldep_info_omit_d_target: boolunpretty: Option<String>run_dsymutil: Option<bool>ui_testing: Option<bool>embed_bitcode: boolstrip_debuginfo_if_disabled: Option<bool>share_generics: Option<bool>chalk: boolno_parallel_llvm: boolno_leak_check: boolno_interleave_lints: boolcrate_attr: Vec<String>self_profile: SwitchWithOptPathself_profile_events: Option<Vec<String>>emit_stack_sizes: boolplt: Option<bool>merge_functions: Option<MergeFunctions>allow_features: Option<Vec<String>>symbol_mangling_version: SymbolManglingVersionbinary_dep_depinfo: boolinsert_sideeffect: booldeduplicate_diagnostics: Option<bool>control_flow_guard: CFGuardno_link: bool

Methods

impl DebuggingOptions[src]

pub fn ui_testing(&self) -> bool[src]

pub fn diagnostic_handler_flags(&self, can_emit_warnings: bool) -> HandlerFlags[src]

Trait Implementations

impl Clone for DebuggingOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.