mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
dlopen offload dlopen offload to dist it in dist-x86_64-linux without enabling llvm.offload=true in CI (https://github.com/rust-lang/rust/pull/159064#issuecomment-5003148163) I tested that this works by following steps at https://rustc-dev-guide.rust-lang.org/offload/usage.html for both LLVM22 and 23(by switch base branch to https://github.com/rust-lang/rust/pull/158734 temporarily), though It might be better to land this after LLVM 23. r? @ZuseZ4
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.