rust/src/librustc_driver
Aaron Hill e9aa0e7540
Use existing Handler to print query stack
When the panic handler is run, the existing Handler may be in a weird
state if it was responsible for triggering the panic. By using a freshly
created Handler, we avoid trying to re-entrantly lock a HandlerInner,
which was causing a double panic on ICEs.
2019-09-26 16:17:00 -04:00
..
args.rs Move argfile expansion into run_compiler 2019-08-20 12:34:14 -07:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Auto merge of #60584 - jonas-schievink:ice-panic-hook, r=oli-obk 2019-09-15 00:10:08 +00:00
lib.rs Use existing Handler to print query stack 2019-09-26 16:17:00 -04:00
pretty.rs Print syntax contexts and marks when printing hygiene information 2019-09-17 21:23:33 +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.