mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
refactor: migrate to LLVM-C's `LLVMGetOrInsertFunction` As the removed fixme already states we don't need to maintain our own wrapper anymore as `LLVMGetOrInsertFunction` is part of LLVM since version 22.
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.