Files
rust/compiler/rustc_codegen_llvm
Mrmaxmeier 84daca4fdb debuginfo: embed external source
This allows embedding source code even when it's only available via
previously emitted metadata files.

Without this, embedded source availability is inconsistent, especially
in release builds.
2026-04-30 12:35:13 +02:00
..
2026-04-30 12:35:13 +02: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.