diff options
| author | kcbanner <kcbanner@gmail.com> | 2023-01-05 13:41:53 -0500 |
|---|---|---|
| committer | kcbanner <kcbanner@gmail.com> | 2023-01-05 13:41:53 -0500 |
| commit | 25e6187d28813c0f5227095b927374d901c6004b (patch) | |
| tree | a174755d1b78db49b525036bafe14aa8514c840e /src | |
| parent | 7fe62475181489c200d9248b43b983ae41acf985 (diff) | |
| download | zig-25e6187d28813c0f5227095b927374d901c6004b.tar.gz zig-25e6187d28813c0f5227095b927374d901c6004b.zip | |
coff: fixup module_definition_file hashing
Diffstat (limited to 'src')
| -rw-r--r-- | src/link/Coff/lld.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Coff/lld.zig b/src/link/Coff/lld.zig index 7702062eae..d705f62f5c 100644 --- a/src/link/Coff/lld.zig +++ b/src/link/Coff/lld.zig @@ -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(); |
