| ... | ... | @@ -660,13 +660,12 @@ pub const File = struct { |
| 660 | 660 | base.file = mf.memory_map.file; |
| 661 | 661 | try mf.ensureTotalCapacity(@intCast(mf.nodes.items[0].location().resolve(mf)[1])); |
| 662 | 662 | }, |
| 663 | | .c => if (base.file == null) { |
| 664 | | dev.check(.c_linker); |
| 663 | .c, .spirv => if (base.file == null) { |
| 664 | dev.checkAny(&.{ .c_linker, .spirv_linker }); |
| 665 | 665 | base.file = try base.emit.root_dir.handle.openFile(io, base.emit.sub_path, .{ |
| 666 | 666 | .mode = .write_only, |
| 667 | 667 | }); |
| 668 | 668 | }, |
| 669 | | .spirv => dev.check(.spirv_linker), |
| 670 | 669 | .plan9 => unreachable, |
| 671 | 670 | } |
| 672 | 671 | } |