mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
Coff: fix missing error lazy symbols
This commit is contained in:
parent
e9df5ab7f1
commit
ed19ecd115
1 changed files with 1 additions and 1 deletions
|
|
@ -1694,7 +1694,7 @@ pub fn flushModule(self: *Coff, arena: Allocator, tid: Zcu.PerThread.Id, prog_no
|
|||
.tid = tid,
|
||||
};
|
||||
|
||||
if (self.lazy_syms.getPtr(.none)) |metadata| {
|
||||
if (self.lazy_syms.getPtr(.anyerror_type)) |metadata| {
|
||||
// Most lazy symbols can be updated on first use, but
|
||||
// anyerror needs to wait for everything to be flushed.
|
||||
if (metadata.text_state != .unused) self.updateLazySymbolAtom(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue