Module rustc_ap_rustc_session::config [−][src]
Expand description
Contains infrastructure for configuring the compiler, including parsing command-line options.
Modules
| nightly_options |
Structs
| CodegenOptions | |
| DebuggingOptions | |
| ExternDepSpecs | |
| ExternEntry | |
| Externs | Use tree-based collections to cheaply get a deterministic |
| JsonConfig | Possible json config files |
| Options | The top-level command-line options struct. |
| OutputFilenames | |
| OutputTypes | Use tree-based collections to cheaply get a deterministic |
| RustcOptGroup |
Enums
| BorrowckMode | |
| CFGuard | The different settings that the |
| CrateType | |
| DebugInfo | |
| EntryFnType | |
| ErrorOutputType | The type of diagnostics output to generate. |
| ExternDepSpec | Supplied source location of a dependency - for example in a build specification file like Cargo.toml. We support several syntaxes: if it makes sense to reference a file and line, then the build system can specify that. On the other hand, it may make more sense to have an arbitrary raw string. |
| ExternLocation | |
| Input | |
| InstrumentCoverage | The different settings that the |
| LinkerPluginLto | |
| Lto | This is what the |
| LtoCli | The different settings that the |
| MirSpanview | The different settings that the |
| OptLevel | |
| OptionStability | |
| OutputType | |
| Passes | |
| PpAstTreeMode | |
| PpHirMode | |
| PpMode | |
| PpSourceMode | |
| PrintRequest | |
| Strip | The different settings that the |
| SwitchWithOptPath | |
| SymbolManglingVersion | |
| TrimmedDefPaths | Parameter to control path trimming. |
| WasiExecModel |
Constants
| CG_OPTIONS | |
| DB_OPTIONS | |
| DWARF_OBJECT_EXT | |
| RLINK_EXT | |
| RUST_CGU_EXT |
Functions
| build_configuration | |
| build_session_options | |
| default_lib_output | |
| get_cmd_lint_options | |
| host_triple | |
| make_crate_type_option | |
| parse_color | Parses the |
| parse_crate_edition | |
| parse_crate_types_from_list | |
| parse_error_format | Parses the |
| parse_externs | |
| parse_json | Parse the |
| 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. |
| to_crate_config | Converts the crate |