rust/compiler/rustc_codegen_llvm
Nikita Popov c3ab409b4f Use captures(address) instead of captures(none) for indirect args
While provenance cannot be captured through these arguments, the
address / object identity can.
2025-08-26 16:16:23 +02:00
..
src Use captures(address) instead of captures(none) for indirect args 2025-08-26 16:16:23 +02:00
Cargo.toml Rollup merge of #144726 - jdonszelmann:move-attr-data-structures, r=lcnr 2025-07-31 17:19:40 +02:00
messages.ftl Use the object crate rather than LLVM for extracting bitcode sections 2025-07-25 11:21:28 +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.