Consider switching *-uefi-*
targets to uefi
instead of windows
for LLVM 20+
#21630
Labels
backend-llvm
The LLVM backend outputs an LLVM IR Module.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
There is ongoing work to make UEFI a first-class citizen in LLVM. The backend work in particular is what's important for us here.
Once these efforts progress far enough (maybe LLVM 20 or 21?), we should consider switching over to
uefi
when lowering to LLVM as our use ofwindows
for this purpose is a brittle hack that could break with any given LLVM upgrade.zig/src/codegen/llvm.zig
Line 186 in ea527f7
The text was updated successfully, but these errors were encountered: