| ... | @@ -1694,7 +1694,7 @@ pub fn flushModule(self: *Coff, arena: Allocator, tid: Zcu.PerThread.Id, prog_no | ... | @@ -1694,7 +1694,7 @@ pub fn flushModule(self: *Coff, arena: Allocator, tid: Zcu.PerThread.Id, prog_no |
| 1694 | .tid = tid, | 1694 | .tid = tid, |
| 1695 | }; | 1695 | }; |
| 1696 | | 1696 | |
| 1697 | if (self.lazy_syms.getPtr(.none)) |metadata| { | 1697 | if (self.lazy_syms.getPtr(.anyerror_type)) |metadata| { |
| 1698 | // Most lazy symbols can be updated on first use, but | 1698 | // Most lazy symbols can be updated on first use, but |
| 1699 | // anyerror needs to wait for everything to be flushed. | 1699 | // anyerror needs to wait for everything to be flushed. |
| 1700 | if (metadata.text_state != .unused) self.updateLazySymbolAtom( | 1700 | if (metadata.text_state != .unused) self.updateLazySymbolAtom( |