[−][src]Crate rustc_driver
Re-exports
pub extern crate rustc_plugin_impl as plugin; |
Modules
| args | |
| pretty | The various pretty-printing routines. |
Structs
| RunCompiler | |
| RustcDefaultCalls | CompilerCalls instance for a regular rustc build. |
| TimePassesCallbacks |
Enums
| Compilation |
Constants
| BUG_REPORT_URL | |
| EXIT_FAILURE | Exit status code used for compilation failures and invalid flags. |
| EXIT_SUCCESS | Exit status code used for successful compilation and help output. |
| ICE_REPORT_COMPILER_FLAGS | |
| ICE_REPORT_COMPILER_FLAGS_EXCLUDE | |
| ICE_REPORT_COMPILER_FLAGS_STRIP_VALUE |
Statics
| DEFAULT_HOOK |
Traits
| Callbacks |
Functions
| abort_on_err | |
| catch_fatal_errors | Runs a closure and catches unwinds triggered by fatal errors. |
| catch_with_exit_code | Variant of |
| describe_codegen_flags | |
| describe_debug_flags | |
| describe_lints | |
| diagnostics_registry | |
| extra_compiler_flags | Gets a list of extra command-line flags provided by the user, as strings. |
| handle_explain | |
| handle_options | Process command line options. Emits messages as appropriate. If compilation
should continue, returns a getopts::Matches object parsed from args,
otherwise returns |
| init_env_logger | This allows tools to enable rust logging without having to magically match rustc's
tracing crate version. In contrast to |
| init_rustc_env_logger | This allows tools to enable rust logging without having to magically match rustc's tracing crate version. |
| install_ice_hook | Installs a panic hook that will print the ICE message on unexpected panics. |
| main | |
| make_input | |
| make_output | |
| parse_crate_attrs | |
| print_flag_list | |
| print_wall_help | |
| report_ice | Prints the ICE message, including backtrace and query stack. |
| run_compiler | |
| set_sigpipe_handler | |
| show_content_with_pager | |
| stdout_isatty | |
| usage | |
| version | Prints version information |