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