authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-06-11 02:12:04+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-06-12 17:51:30+01:00
log7f2f107a1ed451c94da0db6ff559bfee3ce512a5
treeabd77cee561997545d13e19b0fd08b9f5260aac3
parent22e961070d2299d6189b0ad82e04763e504a0208
signaturelock-open Commit is signed but in an unrecognized format.

Zcu: SPIR-V also doesn't generate MIR (yet)


1 files changed, 3 insertions(+), 1 deletions(-)

src/Zcu/PerThread.zig+3-1
...@@ -4392,7 +4392,9 @@ pub fn runCodegen(pt: Zcu.PerThread, func_index: InternPool.Index, air: *Air, ou...@@ -4392,7 +4392,9 @@ pub fn runCodegen(pt: Zcu.PerThread, func_index: InternPool.Index, air: *Air, ou
4392 const backend = target_util.zigBackend(zcu.root_mod.resolved_target.result, zcu.comp.config.use_llvm);4392 const backend = target_util.zigBackend(zcu.root_mod.resolved_target.result, zcu.comp.config.use_llvm);
4393 switch (backend) {4393 switch (backend) {
4394 else => unreachable, // assertion failure4394 else => unreachable, // assertion failure
4395 .stage2_llvm => {},4395 .stage2_spirv64,
4396 .stage2_llvm,
4397 => {},
4396 }4398 }
4397 out.status.store(.failed, .monotonic);4399 out.status.store(.failed, .monotonic);
4398 },4400 },