Files
rust/compiler/rustc_codegen_llvm
Guy Bedford 45adab87a5 Pass user-provided llvm_args after target spec llvm_args.
This ensures that user arguments can override target arguments without being silently ignored.
2026-05-13 12:16:25 -07: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.