rust/compiler/rustc_codegen_llvm
Matthias Krüger 9e89feefb9
Rollup merge of #135549 - oli-obk:push-tmxtpnrloyqu, r=compiler-errors
Document some safety constraints and use more safe wrappers

Lots of unsafe codegen_llvm code has safe wrappers already, so I used some of them and added some where applicable. I stopped here because this diff is large enough and should probably be reviewed independently of other changes.
2025-02-12 06:07:35 +01:00
..
src Rollup merge of #135549 - oli-obk:push-tmxtpnrloyqu, r=compiler-errors 2025-02-12 06:07:35 +01:00
Cargo.toml Note that cg_llvm's gimli should match the version used elsewhere 2025-01-21 14:41:44 +11:00
messages.ftl Auto merge of #134794 - RalfJung:abi-required-target-features, r=workingjubilee 2025-01-05 23:21:06 +00:00
README.md

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.