rust/src/librustc_driver
Nicholas Nethercote 87b103d4a9 Add a "total" measurement to -Ztime-passes.
This is useful for getting the total compilation time at the end.
To do this, the patch changes `print_time_passes_entry` to not increment
the depth, which means that `print_time_passes_entry_internal` is no
longer needed.
2019-07-05 08:19:48 +10:00
..
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Update rustc-rayon version 2019-04-26 19:08:36 +02:00
lib.rs Add a "total" measurement to -Ztime-passes. 2019-07-05 08:19:48 +10:00
pretty.rs Remove needless lifetimes 2019-07-03 10:01:02 +02: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.