rust/src/librustc_driver
2020-02-04 19:18:11 +01:00
..
args.rs Deprecate Error::description for real 2019-12-24 22:39:49 -08:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml syntax::print -> new crate rustc_ast_pretty 2020-02-01 18:59:49 +01:00
lib.rs Remove unused feature gates from librustc_driver 2020-02-04 19:18:11 +01:00
pretty.rs pretty: injected_crate_name -> has_injected_crate 2020-02-01 18:59:49 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00

The driver crate is effectively the "main" function for the rust compiler. It orchestrates the compilation process and "knits together" the code from the other crates within rustc. This crate itself does not contain any of the "main logic" of the compiler (though it does have some code related to pretty printing or other minor compiler options).

For more information about how the driver works, see the rustc guide.