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

This commit is contained in:
mlugg 2025-06-11 02:12:04 +01:00
parent 22e961070d
commit 7f2f107a1e
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E

View File

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