[−][src]Module rustc_session::config
Contains infrastructure for configuring the compiler, including parsing command-line options.
Modules
| dep_tracking | Command-line arguments passed to the compiler have to be incorporated with the dependency tracking system for incremental compilation. This module provides some utilities to make this more convenient. |
| nightly_options | |
| opt |
Structs
| CodegenOptions | |
| DebuggingOptions | |
| ExternEntry | |
| Externs | Use tree-based collections to cheaply get a deterministic |
| Options | |
| OutputFilenames | |
| OutputTypes | Use tree-based collections to cheaply get a deterministic |
| RustcOptGroup | |
| SanitizerSet |
Enums
| BorrowckMode | |
| CFGuard | The different settings that the |
| CrateType | |
| DebugInfo | |
| EntryFnType | |
| ErrorOutputType | The type of diagnostics output to generate. |
| ExternLocation | |
| Input | |
| LinkerPluginLto | |
| Lto | This is what the |
| LtoCli | The different settings that the |
| MirSpanview | The different settings that the |
| OptLevel | |
| OptionStability | |
| OutputType | |
| Passes | |
| PpMode | |
| PpSourceMode | |
| PrintRequest | |
| Strip | The different settings that the |
| SwitchWithOptPath | |
| SymbolManglingVersion | |
| TrimmedDefPaths | Parameter to control path trimming. |
Constants
| CG_OPTIONS | |
| DB_OPTIONS | |
| RLINK_EXT | |
| RUST_CGU_EXT |
Functions
| basic_codegen_options | |
| basic_debugging_options | |
| build_codegen_options | |
| build_configuration | |
| build_debugging_options | |
| build_session_options | |
| build_target_config | |
| check_debug_option_stability | |
| check_thread_count | |
| collect_print_requests | |
| default_configuration | |
| default_lib_output | |
| get_cmd_lint_options | |
| host_triple | |
| make_crate_type_option | |
| parse_borrowck_mode | |
| parse_color | Parses the |
| parse_crate_edition | |
| parse_crate_types_from_list | |
| parse_error_format | Parses the |
| parse_externs | |
| parse_json | Parse the |
| parse_libs | |
| parse_opt_level | |
| parse_output_types | |
| parse_pretty | |
| parse_remap_path_prefix | |
| parse_target_triple | |
| rustc_optgroups | Returns all rustc command line options, including metadata for each option, such as whether the option is part of the stable long-term interface for rustc. |
| rustc_short_optgroups | Returns the "short" subset of the rustc command line options, including metadata for each option, such as whether the option is part of the stable long-term interface for rustc. |
| select_debuginfo | |
| should_override_cgus_and_disable_thinlto | |
| to_crate_config | Converts the crate |
Type Definitions
| CodegenSetter | |
| DebuggingSetter |