authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-09-15 22:13:50+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-09-18 10:00:04+02:00
log7f7669a09e398b5b5856edf0795ed25dfd28405b
treec633bfd7f45911abd6ce67ee04df3b3306ed4b8d
parentdc6480dba5ec4533f6a20292f93fe5c25a1a689f

macho: fix building on 32bit targets


1 files changed, 1 insertions(+), 1 deletions(-)

src/link/MachO.zig+1-1
......@@ -1278,7 +1278,7 @@ pub fn createStubHelperPreambleAtom(self: *MachO) !void {
12781278
12791279 const gpa = self.base.allocator;
12801280 const arch = self.base.options.target.cpu.arch;
1281 const size: u64 = switch (arch) {
1281 const size: u5 = switch (arch) {
12821282 .x86_64 => 15,
12831283 .aarch64 => 6 * @sizeOf(u32),
12841284 else => unreachable,