authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-04-22 12:40:21+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-25 21:49:38+02:00
loga8c74e05650bd06906f2655cb463f5d322710ceb
tree2065a5e8b2cf06c4dc7141c71afa55f70398b22c
parent9ba89394df62b8b080d667075e3a592c5a9594a5
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Compilation: add link objects to file system inputs


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

src/Compilation.zig+7
......@@ -3013,6 +3013,13 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE
30133013 try comp.appendFileSystemInput(try .fromUnresolved(arena, comp.dirs, &.{c_object.src.src_path}));
30143014 }
30153015
3016 for (comp.link_inputs) |input| if (input.path()) |path| {
3017 try comp.appendFileSystemInput(try .fromUnresolved(arena, comp.dirs, &.{
3018 path.root_dir.path orelse ".",
3019 path.sub_path,
3020 }));
3021 };
3022
30163023 // For compiling Win32 resources, we rely on the cache hash system to avoid duplicating work.
30173024 // Add a Job for each Win32 resource file.
30183025 try comp.win32_resource_work_queue.ensureUnusedCapacity(gpa, comp.win32_resource_table.count());