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 {...@@ -875,6 +875,8 @@ pub const Abi = enum {
875 .armeb,875 .armeb,
876 .powerpc,876 .powerpc,
877 .powerpcle,877 .powerpcle,
878 .sh,
879 .sheb,
878 .thumb,880 .thumb,
879 .thumbeb,881 .thumbeb,
880 => .musleabihf,882 => .musleabihf,
...@@ -889,21 +891,21 @@ pub const Abi = enum {...@@ -889,21 +891,21 @@ pub const Abi = enum {
889 .alpha,891 .alpha,
890 .arc,892 .arc,
891 .arceb,893 .arceb,
892 .or1k,894 .loongarch32,
893 .sparc,895 .sparc,
894 .sparc64,896 .sparc64,
895 => .gnu,897 => .gnu,
896 .csky,898 .csky,
897 => .gnueabi,899 => .gnueabi,
898 .hppa,900 .hppa,
899 .sh,
900 .sheb,
901 => .gnueabihf,901 => .gnueabihf,
902902
903 // No glibc or musl support.903 // No glibc or musl support.
904 .xtensa,904 .xtensa,
905 .xtensaeb,905 .xtensaeb,
906 => .none,906 => .none,
907 .hppa64,
908 => .eabihf,
907909
908 else => .musl,910 else => .musl,
909 },911 },