tree: 8c115a77c526dd3c1e86bc318a7382231afaa44e [path history] [tgz]
  1. profile/
  2. build.rs
  3. Cargo.toml
  4. derive_registrar.rs
  5. driver.rs
  6. lib.rs
  7. pretty.rs
  8. README.md
  9. target_features.rs
  10. test.rs
src/librustc_driver/README.md

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

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).