Files
rust/compiler/rustc_codegen_llvm
Joao Roberto ac1e5f4e58 Handle slice-tailed DSTs in autodiff type trees
Use codegen tail discovery so wrappers such as OsStr keep slice element
metadata without losing offsets for prefixed DSTs. Keep recursion tracking
scoped to the current traversal path.
2026-08-02 13:22:11 -03:00
..
…

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc dev guide.