rust/compiler/rustc_codegen_llvm
bors 5d22242a3a Auto merge of #144062 - bjorn3:lto_refactors2, r=davidtwco
Various refactors to the LTO handling code (part 2)

Continuing from https://github.com/rust-lang/rust/pull/143388 this removes a bit of dead code and moves the LTO symbol export calculation from individual backends to cg_ssa.
2025-07-24 12:50:26 +00:00
..
src Auto merge of #144062 - bjorn3:lto_refactors2, r=davidtwco 2025-07-24 12:50:26 +00:00
Cargo.toml Avoid building C++ for rustc_llvm with --compile-time-deps 2025-07-11 13:32:03 +00:00
messages.ftl Move LTO symbol export calculation from backends to cg_ssa 2025-07-21 07:58:44 +00:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +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.