Skip to content

Commit 12a51ee

Browse files
committed
Zcu: SPIR-V also doesn't generate MIR (yet)
1 parent d0a9200 commit 12a51ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Zcu/PerThread.zig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4392,7 +4392,9 @@ pub fn runCodegen(pt: Zcu.PerThread, func_index: InternPool.Index, air: *Air, ou
43924392
const backend = target_util.zigBackend(zcu.root_mod.resolved_target.result, zcu.comp.config.use_llvm);
43934393
switch (backend) {
43944394
else => unreachable, // assertion failure
4395-
.stage2_llvm => {},
4395+
.stage2_spirv64,
4396+
.stage2_llvm,
4397+
=> {},
43964398
}
43974399
out.status.store(.failed, .monotonic);
43984400
},

0 commit comments

Comments
 (0)