rust/compiler/rustc_driver_impl
Nicholas Nethercote a3b4961d5f Move lint_store from GlobalCtxt to Session.
This was made possible by the removal of plugin support, which
simplified lint store creation.

This simplifies the places in rustc and rustdoc that call
`describe_lints`, which are early on. The lint store is now built before
those places, so they don't have to create their own lint store for
temporary use, they can just use the main one.
2023-11-17 10:39:18 +11:00
..
src Move lint_store from GlobalCtxt to Session. 2023-11-17 10:39:18 +11:00
Cargo.toml Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
messages.ftl Stop telling people to submit bugs for internal feature ICEs 2023-10-25 23:23:04 +02:00
README.md

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 dev guide.