From 7f2f107a1ed451c94da0db6ff559bfee3ce512a5 Mon Sep 17 00:00:00 2001 From: mlugg Date: Wed, 11 Jun 2025 02:12:04 +0100 Subject: [PATCH] Zcu: SPIR-V also doesn't generate MIR (yet) --- src/Zcu/PerThread.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig index 9b6a43b496..7416ebbaab 100644 --- a/src/Zcu/PerThread.zig +++ b/src/Zcu/PerThread.zig @@ -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); },