Skip to content

Commit 25e6187

Browse files
committed
coff: fixup module_definition_file hashing
1 parent 7fe6247 commit 25e6187

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/link/Coff/lld.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod
9999
man.hash.addOptional(self.base.options.major_subsystem_version);
100100
man.hash.addOptional(self.base.options.minor_subsystem_version);
101101
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

104104
// We don't actually care whether it's a cache hit or miss; we just need the digest and the lock.
105105
_ = try man.hit();

0 commit comments

Comments
 (0)