rust/src/librustc_driver
2018-09-28 01:54:00 +02:00
..
profile Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. 2018-08-28 17:04:04 +03:00
build.rs
Cargo.toml Remove OneVector 2018-09-26 10:43:37 +02:00
derive_registrar.rs
driver.rs Suggest valid crate type if invalid 2018-09-13 21:26:45 +02:00
lib.rs Remap only source files in the command line 2018-09-28 01:54:00 +02:00
pretty.rs Remove OneVector 2018-09-26 10:43:37 +02:00
README.md
test.rs rustc_driver/test.rs: rustfmt 2018-09-26 09:38:26 -04: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.