pub fn setLibCFile(compile: *Compile, libc_file: ?LazyPath) void
compile: *Compile
libc_file: ?LazyPath
670 671 672 673 674 675 676 677 678
pub fn setLibCFile(compile: *Compile, libc_file: ?LazyPath) void { const graph = compile.step.owner.graph; if (libc_file) |f| { compile.libc_file = f.dupe(graph); f.addStepDependencies(&compile.step); } else { compile.libc_file = null; } }