authorgravatar for rpkak@noreply.codeberg.orgrpkak <rpkak@noreply.codeberg.org> 2026-04-12 09:05:07+02:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-04-13 13:17:58+02:00
log778f8d557bc2ab59c290e145e9ad87e36d7de220
tree9b5e4157170cacb9a11f8fc0b7e4154bc9bda45b
parentedfc4727e24b1c75f49aa42f1b84c7fc59176a32

add cimport file to zcu.alive_files


1 files changed, 1 insertions(+), 0 deletions(-)

src/Sema.zig+1
......@@ -5330,6 +5330,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr
53305330 .prev_zir = null,
53315331 .zoir_invalidated = false,
53325332 };
5333 try zcu.alive_files.putNoClobber(zcu.gpa, c_import_file_index, undefined);
53335334 break :file c_import_file_index;
53345335 };
53355336 pt.updateFile(new_file_index, zcu.fileByIndex(new_file_index)) catch |err|