rust/src/librustc_driver
Richard Diamond 0b76a97793 Re-export getopts so custom drivers can reference it.
Otherwise, custom drivers will have to use their own copy of `getopts`, which
won't match the types used in `CompilerCalls`.
2018-09-30 10:48:00 -05: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 rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Remove OneVector 2018-09-26 10:43:37 +02:00
derive_registrar.rs kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
driver.rs Suggest valid crate type if invalid 2018-09-13 21:26:45 +02:00
lib.rs Re-export getopts so custom drivers can reference it. 2018-09-30 10:48:00 -05:00
pretty.rs Remove OneVector 2018-09-26 10:43:37 +02:00
README.md Replace many of the last references to readmes 2018-03-16 12:43:22 -05:00
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.