mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
2456df10c4
Offload: Update confusing and outdated file name We swapped the order in which we do host and device compilations. The file getting renamed is effectively the output of the clang-offload-packager, the first magic bytes (`00000000 10 ff 10 ad`) confirm it. I was just creating a figure to visualize and noticed that the name is off. cc @Kevinsala @jdoerfert is there any naming convention? r? oli-obk
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.