Skip to content

Commit ed19ecd

Browse files
committed
Coff: fix missing error lazy symbols
1 parent e9df5ab commit ed19ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/link/Coff.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ pub fn flushModule(self: *Coff, arena: Allocator, tid: Zcu.PerThread.Id, prog_no
16941694
.tid = tid,
16951695
};
16961696

1697-
if (self.lazy_syms.getPtr(.none)) |metadata| {
1697+
if (self.lazy_syms.getPtr(.anyerror_type)) |metadata| {
16981698
// Most lazy symbols can be updated on first use, but
16991699
// anyerror needs to wait for everything to be flushed.
17001700
if (metadata.text_state != .unused) self.updateLazySymbolAtom(

0 commit comments

Comments
 (0)