mirror of
https://github.com/ziglang/zig.git
synced 2026-02-10 11:30:58 +00:00
macho: fix building on 32bit targets
This commit is contained in:
parent
dc6480dba5
commit
7f7669a09e
@ -1278,7 +1278,7 @@ pub fn createStubHelperPreambleAtom(self: *MachO) !void {
|
||||
|
||||
const gpa = self.base.allocator;
|
||||
const arch = self.base.options.target.cpu.arch;
|
||||
const size: u64 = switch (arch) {
|
||||
const size: u5 = switch (arch) {
|
||||
.x86_64 => 15,
|
||||
.aarch64 => 6 * @sizeOf(u32),
|
||||
else => unreachable,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user