pub fn addToHash(opt_lci: ?*const LibCInstallation, hh: *Cache.HashHelper, abi: std.Target.Abi) void opt_lci: ?*const LibCInstallationhh: *Cache.HashHelperabi: std.Target.Abi1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068pub fn addToHash(opt_lci: ?*const LibCInstallation, hh: *Cache.HashHelper, abi: std.Target.Abi) void {
const lci = opt_lci orelse return hh.add(false);
hh.add(true);
hh.addOptionalBytes(lci.crt_dir);
switch (abi) {
.msvc, .itanium => {
hh.addOptionalBytes(lci.msvc_lib_dir);
hh.addOptionalBytes(lci.kernel32_lib_dir);
},
else => {},
}
}