diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-06-11 02:12:04 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-06-12 17:51:30 +0100 |
| commit | 7f2f107a1ed451c94da0db6ff559bfee3ce512a5 (patch) | |
| tree | abd77cee561997545d13e19b0fd08b9f5260aac3 /src/Zcu/PerThread.zig | |
| parent | 22e961070d2299d6189b0ad82e04763e504a0208 (diff) | |
| download | zig-7f2f107a1ed451c94da0db6ff559bfee3ce512a5.tar.gz zig-7f2f107a1ed451c94da0db6ff559bfee3ce512a5.zip | |
Zcu: SPIR-V also doesn't generate MIR (yet)
Diffstat (limited to 'src/Zcu/PerThread.zig')
| -rw-r--r-- | src/Zcu/PerThread.zig | 4 |
1 files changed, 3 insertions, 1 deletions
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); }, |
