Skip to content

Commit

Permalink
macho: fix typo for lazy syms .none -> .anyerror_type
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Aug 9, 2024
1 parent 1fc4692 commit 30cea80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/link/MachO/ZigObject.zig
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ pub fn getInputSection(self: ZigObject, atom: Atom, macho_file: *MachO) macho.se

pub fn flushModule(self: *ZigObject, macho_file: *MachO, tid: Zcu.PerThread.Id) !void {
// Handle any lazy symbols that were emitted by incremental compilation.
if (self.lazy_syms.getPtr(.none)) |metadata| {
if (self.lazy_syms.getPtr(.anyerror_type)) |metadata| {
const pt: Zcu.PerThread = .{ .zcu = macho_file.base.comp.module.?, .tid = tid };

// Most lazy symbols can be updated on first use, but
Expand Down

0 comments on commit 30cea80

Please sign in to comment.