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-17 22:30:28+02:00
logb23751c3f4a362d9343d7f3bb38df85a649c2e03
treeb6f9bb00e8fc692efecb4f0fabfcc9af77d2cd2e
parent156fac4665b8084d54970d4a94b640ef94ec6160
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
...@@ -859,6 +859,8 @@ pub const Abi = enum {...@@ -859,6 +859,8 @@ pub const Abi = enum {
859 .armeb,859 .armeb,
860 .powerpc,860 .powerpc,
861 .powerpcle,861 .powerpcle,
862 .sh,
863 .sheb,
862 .thumb,864 .thumb,
863 .thumbeb,865 .thumbeb,
864 => .musleabihf,866 => .musleabihf,
...@@ -873,21 +875,21 @@ pub const Abi = enum {...@@ -873,21 +875,21 @@ pub const Abi = enum {
873 .alpha,875 .alpha,
874 .arc,876 .arc,
875 .arceb,877 .arceb,
876 .or1k,878 .loongarch32,
877 .sparc,879 .sparc,
878 .sparc64,880 .sparc64,
879 => .gnu,881 => .gnu,
880 .csky,882 .csky,
881 => .gnueabi,883 => .gnueabi,
882 .hppa,884 .hppa,
883 .sh,
884 .sheb,
885 => .gnueabihf,885 => .gnueabihf,
886886
887 // No glibc or musl support.887 // No glibc or musl support.
888 .xtensa,888 .xtensa,
889 .xtensaeb,889 .xtensaeb,
890 => .none,890 => .none,
891 .hppa64,
892 => .eabihf,
891893
892 else => .musl,894 else => .musl,
893 },895 },