zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 7f2f107a1ed451c94da0db6ff559bfee3ce512a5 (tree)
parent 22e961070d2299d6189b0ad82e04763e504a0208
Author: mlugg <mlugg@mlugg.co.uk>
Date:   Wed, 11 Jun 2025 02:12:04 +0100

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

Diffstat:
Msrc/Zcu/PerThread.zig | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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); },