rust/compiler/rustc_driver_impl
David Wood 26255186e2 various: translation resources from cg backend
Extend `CodegenBackend` trait with a function returning the translation
resources from the codegen backend, which can be added to the complete
list of resources provided to the emitter.

Signed-off-by: David Wood <david.wood@huawei.com>
2023-02-22 09:15:54 +00:00
..
locales errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
src various: translation resources from cg backend 2023-02-22 09:15:54 +00:00
Cargo.toml errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00: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.