mirror of
https://github.com/ziglang/zig.git
synced 2025-12-28 00:53:18 +00:00
macho: fix invalid alignment of stubs for x86_64
This commit is contained in:
parent
9d62ebc0ce
commit
5eb6c81d07
@ -24,7 +24,7 @@ pub inline fn stubSize(cpu_arch: std.Target.Cpu.Arch) u8 {
|
||||
|
||||
pub inline fn stubAlignment(cpu_arch: std.Target.Cpu.Arch) u8 {
|
||||
return switch (cpu_arch) {
|
||||
.x86_64 => 0,
|
||||
.x86_64 => 1,
|
||||
.aarch64 => 2,
|
||||
else => unreachable, // unhandled architecture type
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user