rust/compiler/rustc_codegen_llvm
Matthias Krüger d464630301
Rollup merge of #150811 - defid-aliases, r=bjorn3
Store defids instead of symbol names in the aliases list

I was honestly surprised this worked in the past. This causes a cycle error since we now compute a symbol name in codegen_attrs, and then compute codegen attrs when we try to get the symbol name.

It only worked when there weren't any codegen attributes to begin with, causing symbol name computation to skip the call to codegen_attrs.

Like this we won't have the same problem.

r? @bjorn3
2026-01-08 22:21:21 +01:00
..
src Rollup merge of #150811 - defid-aliases, r=bjorn3 2026-01-08 22:21:21 +01:00
Cargo.toml Removes the serde dependency in rustc_codegen_llvm 2025-12-28 15:52:20 +08:00
messages.ftl Modified to output error messages appropriate to the situation 2026-01-07 00:33:57 +09: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.