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 {
859859 .armeb,
860860 .powerpc,
861861 .powerpcle,
862 .sh,
863 .sheb,
862864 .thumb,
863865 .thumbeb,
864866 => .musleabihf,
......@@ -873,21 +875,21 @@ pub const Abi = enum {
873875 .alpha,
874876 .arc,
875877 .arceb,
876 .or1k,
878 .loongarch32,
877879 .sparc,
878880 .sparc64,
879881 => .gnu,
880882 .csky,
881883 => .gnueabi,
882884 .hppa,
883 .sh,
884 .sheb,
885885 => .gnueabihf,
886886
887887 // No glibc or musl support.
888888 .xtensa,
889889 .xtensaeb,
890890 => .none,
891 .hppa64,
892 => .eabihf,
891893
892894 else => .musl,
893895 },