authorgravatar for kcbanner@gmail.comCasey Banner <kcbanner@gmail.com> 2023-01-05 13:41:53-05:00
committergravatar for kcbanner@gmail.comCasey Banner <kcbanner@gmail.com> 2023-01-05 13:41:53-05:00
log25e6187d28813c0f5227095b927374d901c6004b
treea174755d1b78db49b525036bafe14aa8514c840e
parent7fe62475181489c200d9248b43b983ae41acf985

coff: fixup module_definition_file hashing


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

src/link/Coff/lld.zig+1-1
...@@ -99,7 +99,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod...@@ -99,7 +99,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod
99 man.hash.addOptional(self.base.options.major_subsystem_version);99 man.hash.addOptional(self.base.options.major_subsystem_version);
100 man.hash.addOptional(self.base.options.minor_subsystem_version);100 man.hash.addOptional(self.base.options.minor_subsystem_version);
101 man.hash.addOptional(self.base.options.version);101 man.hash.addOptional(self.base.options.version);
102 man.hash.addOptionalBytes(self.base.options.module_definition_file);102 try man.addOptionalFile(self.base.options.module_definition_file);
103103
104 // We don't actually care whether it's a cache hit or miss; we just need the digest and the lock.104 // We don't actually care whether it's a cache hit or miss; we just need the digest and the lock.
105 _ = try man.hit();105 _ = try man.hit();