authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-17 22:30:28+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-18 16:08:18+02:00
log2fa849c80883e7b2f327a259df97fb97acef887e
tree0b42be9be3914d0b42d6842fb7df70a3cdfa5e32
parent646b438b63c3e501a2dd8fda31bccc0e92fcba10
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: fix Abi.default() for some architectures on linux


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

lib/std/Target.zig+5-3
......@@ -875,6 +875,8 @@ pub const Abi = enum {
875875 .armeb,
876876 .powerpc,
877877 .powerpcle,
878 .sh,
879 .sheb,
878880 .thumb,
879881 .thumbeb,
880882 => .musleabihf,
......@@ -889,21 +891,21 @@ pub const Abi = enum {
889891 .alpha,
890892 .arc,
891893 .arceb,
892 .or1k,
894 .loongarch32,
893895 .sparc,
894896 .sparc64,
895897 => .gnu,
896898 .csky,
897899 => .gnueabi,
898900 .hppa,
899 .sh,
900 .sheb,
901901 => .gnueabihf,
902902
903903 // No glibc or musl support.
904904 .xtensa,
905905 .xtensaeb,
906906 => .none,
907 .hppa64,
908 => .eabihf,
907909
908910 else => .musl,
909911 },