fn getEmittedFileGeneric(compile: *Compile, output_file: *Configuration.OptionalGeneratedFileIndex) LazyPath
fn getEmittedFileGeneric(compile: *Compile, output_file: *Configuration.OptionalGeneratedFileIndex) LazyPath { if (output_file.unwrap()) |index| return .{ .generated = .{ .index = index } }; const graph = compile.step.owner.graph; const index = graph.addGeneratedFile(&compile.step); output_file.* = .init(index); return .{ .generated = .{ .index = index } }; }