coff: fixup module_definition_file hashing

This commit is contained in:
kcbanner
2023-01-05 13:41:53 -05:00
parent 7fe6247518
commit 25e6187d28

View File

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