Struct rustc_ap_rustc_session::config::DebuggingOptions [−][src]
pub struct DebuggingOptions {Show fields
pub allow_features: Option<Vec<String>>,
pub always_encode_mir: bool,
pub assume_incomplete_release: bool,
pub asm_comments: bool,
pub ast_json: bool,
pub ast_json_noexpand: bool,
pub binary_dep_depinfo: bool,
pub borrowck: String,
pub cgu_partitioning_strategy: Option<String>,
pub chalk: bool,
pub codegen_backend: Option<String>,
pub combine_cgu: bool,
pub crate_attr: Vec<String>,
pub debug_macros: bool,
pub deduplicate_diagnostics: bool,
pub dep_info_omit_d_target: bool,
pub dep_tasks: bool,
pub dont_buffer_diagnostics: bool,
pub dual_proc_macros: bool,
pub dump_dep_graph: bool,
pub dump_mir: Option<String>,
pub dump_mir_dataflow: bool,
pub dump_mir_dir: String,
pub dump_mir_exclude_pass_number: bool,
pub dump_mir_graphviz: bool,
pub dump_mir_spanview: Option<MirSpanview>,
pub emit_future_incompat_report: bool,
pub emit_stack_sizes: bool,
pub fewer_names: Option<bool>,
pub force_overflow_checks: Option<bool>,
pub force_unstable_if_unmarked: bool,
pub fuel: Option<(String, u64)>,
pub function_sections: Option<bool>,
pub graphviz_dark_mode: bool,
pub graphviz_font: String,
pub hir_stats: bool,
pub human_readable_cgu_names: bool,
pub identify_regions: bool,
pub incremental_ignore_spans: bool,
pub incremental_info: bool,
pub incremental_verify_ich: bool,
pub inline_mir: Option<bool>,
pub inline_mir_threshold: Option<usize>,
pub inline_mir_hint_threshold: Option<usize>,
pub inline_in_all_cgus: Option<bool>,
pub input_stats: bool,
pub instrument_coverage: Option<InstrumentCoverage>,
pub instrument_mcount: bool,
pub keep_hygiene_data: bool,
pub link_native_libraries: bool,
pub link_only: bool,
pub llvm_time_trace: bool,
pub ls: bool,
pub macro_backtrace: bool,
pub merge_functions: Option<MergeFunctions>,
pub meta_stats: bool,
pub mir_emit_retag: bool,
pub mir_opt_level: Option<usize>,
pub mutable_noalias: Option<bool>,
pub new_llvm_pass_manager: Option<bool>,
pub nll_facts: bool,
pub nll_facts_dir: String,
pub no_analysis: bool,
pub no_codegen: bool,
pub no_generate_arange_section: bool,
pub no_interleave_lints: bool,
pub no_leak_check: bool,
pub no_link: bool,
pub no_parallel_llvm: bool,
pub no_profiler_runtime: bool,
pub normalize_docs: bool,
pub osx_rpath_install_name: bool,
pub panic_abort_tests: bool,
pub parse_only: bool,
pub perf_stats: bool,
pub plt: Option<bool>,
pub polonius: bool,
pub polymorphize: bool,
pub pre_link_arg: (),
pub pre_link_args: Vec<String>,
pub precise_enum_drop_elaboration: bool,
pub print_fuel: Option<String>,
pub print_link_args: bool,
pub print_llvm_passes: bool,
pub print_mono_items: Option<String>,
pub print_type_sizes: bool,
pub proc_macro_backtrace: bool,
pub profile: bool,
pub profile_emit: Option<PathBuf>,
pub query_dep_graph: bool,
pub query_stats: bool,
pub relax_elf_relocations: Option<bool>,
pub relro_level: Option<RelroLevel>,
pub simulate_remapped_rust_src_base: Option<PathBuf>,
pub report_delayed_bugs: bool,
pub sanitizer: SanitizerSet,
pub sanitizer_memory_track_origins: usize,
pub sanitizer_recover: SanitizerSet,
pub saturating_float_casts: Option<bool>,
pub save_analysis: bool,
pub self_profile: SwitchWithOptPath,
pub self_profile_events: Option<Vec<String>>,
pub share_generics: Option<bool>,
pub show_span: Option<String>,
pub span_debug: bool,
pub span_free_formats: bool,
pub src_hash_algorithm: Option<SourceFileHashAlgorithm>,
pub strip: Strip,
pub split_dwarf_inlining: bool,
pub symbol_mangling_version: Option<SymbolManglingVersion>,
pub teach: bool,
pub terminal_width: Option<usize>,
pub tune_cpu: Option<String>,
pub thinlto: Option<bool>,
pub thir_unsafeck: bool,
pub threads: usize,
pub time: bool,
pub time_llvm_passes: bool,
pub time_passes: bool,
pub tls_model: Option<TlsModel>,
pub trace_macros: bool,
pub trap_unreachable: Option<bool>,
pub treat_err_as_bug: Option<NonZeroUsize>,
pub trim_diagnostic_paths: bool,
pub ui_testing: bool,
pub unleash_the_miri_inside_of_you: bool,
pub unpretty: Option<String>,
pub unsound_mir_opts: bool,
pub unstable_options: bool,
pub use_ctors_section: Option<bool>,
pub validate_mir: bool,
pub verbose: bool,
pub verify_llvm_ir: bool,
pub wasi_exec_model: Option<WasiExecModel>,
}Fields
allow_features: Option<Vec<String>>always_encode_mir: boolassume_incomplete_release: boolasm_comments: boolast_json: boolast_json_noexpand: boolbinary_dep_depinfo: boolborrowck: Stringcgu_partitioning_strategy: Option<String>chalk: boolcodegen_backend: Option<String>combine_cgu: boolcrate_attr: Vec<String>debug_macros: booldeduplicate_diagnostics: booldep_info_omit_d_target: booldep_tasks: booldont_buffer_diagnostics: booldual_proc_macros: booldump_dep_graph: booldump_mir: Option<String>dump_mir_dataflow: booldump_mir_dir: Stringdump_mir_exclude_pass_number: booldump_mir_graphviz: booldump_mir_spanview: Option<MirSpanview>emit_future_incompat_report: boolemit_stack_sizes: boolfewer_names: Option<bool>force_overflow_checks: Option<bool>force_unstable_if_unmarked: boolfuel: Option<(String, u64)>function_sections: Option<bool>graphviz_dark_mode: boolgraphviz_font: Stringhir_stats: boolhuman_readable_cgu_names: boolidentify_regions: boolincremental_ignore_spans: boolincremental_info: boolincremental_verify_ich: boolinline_mir: Option<bool>inline_mir_threshold: Option<usize>inline_mir_hint_threshold: Option<usize>inline_in_all_cgus: Option<bool>input_stats: boolinstrument_coverage: Option<InstrumentCoverage>instrument_mcount: boolkeep_hygiene_data: boollink_native_libraries: boollink_only: boolllvm_time_trace: boolls: boolmacro_backtrace: boolmerge_functions: Option<MergeFunctions>meta_stats: boolmir_emit_retag: boolmir_opt_level: Option<usize>mutable_noalias: Option<bool>new_llvm_pass_manager: Option<bool>nll_facts: boolnll_facts_dir: Stringno_analysis: boolno_codegen: boolno_generate_arange_section: boolno_interleave_lints: boolno_leak_check: boolno_link: boolno_parallel_llvm: boolno_profiler_runtime: boolnormalize_docs: boolosx_rpath_install_name: boolpanic_abort_tests: boolparse_only: boolperf_stats: boolplt: Option<bool>polonius: boolpolymorphize: boolpre_link_arg: ()pre_link_args: Vec<String>precise_enum_drop_elaboration: boolprint_fuel: Option<String>print_link_args: boolprint_llvm_passes: boolprint_mono_items: Option<String>print_type_sizes: boolproc_macro_backtrace: boolprofile: boolprofile_emit: Option<PathBuf>query_dep_graph: boolquery_stats: boolrelax_elf_relocations: Option<bool>relro_level: Option<RelroLevel>simulate_remapped_rust_src_base: Option<PathBuf>report_delayed_bugs: boolsanitizer: SanitizerSetsanitizer_memory_track_origins: usizesanitizer_recover: SanitizerSetsaturating_float_casts: Option<bool>save_analysis: boolself_profile: SwitchWithOptPathself_profile_events: Option<Vec<String>>show_span: Option<String>span_debug: boolspan_free_formats: boolsrc_hash_algorithm: Option<SourceFileHashAlgorithm>strip: Stripsplit_dwarf_inlining: boolsymbol_mangling_version: Option<SymbolManglingVersion>teach: boolterminal_width: Option<usize>tune_cpu: Option<String>thinlto: Option<bool>thir_unsafeck: boolthreads: usizetime: booltime_llvm_passes: booltime_passes: booltls_model: Option<TlsModel>trace_macros: booltrap_unreachable: Option<bool>treat_err_as_bug: Option<NonZeroUsize>trim_diagnostic_paths: boolui_testing: boolunleash_the_miri_inside_of_you: boolunpretty: Option<String>unsound_mir_opts: boolunstable_options: booluse_ctors_section: Option<bool>validate_mir: boolverbose: boolverify_llvm_ir: boolwasi_exec_model: Option<WasiExecModel>Implementations
impl DebuggingOptions[src]
impl DebuggingOptions[src]pub fn diagnostic_handler_flags(&self, can_emit_warnings: bool) -> HandlerFlags[src]
pub fn get_symbol_mangling_version(&self) -> SymbolManglingVersion[src]
impl DebuggingOptions[src]
impl DebuggingOptions[src]pub fn build(
matches: &Matches,
error_format: ErrorOutputType
) -> DebuggingOptions[src]
matches: &Matches,
error_format: ErrorOutputType
) -> DebuggingOptions
Trait Implementations
impl Clone for DebuggingOptions[src]
impl Clone for DebuggingOptions[src]fn clone(&self) -> DebuggingOptions[src]
fn clone(&self) -> DebuggingOptions[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Default for DebuggingOptions[src]
impl Default for DebuggingOptions[src]fn default() -> DebuggingOptions[src]
fn default() -> DebuggingOptions[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DebuggingOptions
impl Send for DebuggingOptions
impl Sync for DebuggingOptions
impl Unpin for DebuggingOptions
impl UnwindSafe for DebuggingOptions
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,