rust/compiler/rustc_interface
bors 23f708107b Auto merge of #149170 - ZuseZ4:automate-offload-packager, r=oli-obk
automate gpu offloading - part 1

Automates step 1 from the rustc-dev-guide offload section:
https://rustc-dev-guide.rust-lang.org/offload/usage.html#compile-instructions
`"clang-offload-packager" "-o" "host.out" "--image=file=device.bc,triple=amdgcn-amd-amdhsa,arch=gfx90a,kind=openmp"`

Verified on an MI 250X

cc `@jhuber6,` `@kevinsala,` `@jdoerfert,` `@Sa4dUs`

r? oli-obk
2025-11-23 10:45:30 +00:00
..
src Emit error when using path-segment keyword as cfg pred 2025-11-21 18:48:04 +08:00
Cargo.toml Only try to link against offload functions if llvm.enzyme is enabled 2025-11-23 00:19:53 -08:00
messages.ftl Add panic=immediate-abort 2025-09-21 13:12:18 -04:00