aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-16 04:36:40 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-11-02 10:42:53 +0100
commit270fbbcd86b02fcd02ad9b818d9de39dfe671754 (patch)
treec81290bd31fdbfed3ba1a1d34394e271f30b80f2 /test
parent8045268698bb46e954c886b913fe216c59f5824e (diff)
downloadzig-270fbbcd86b02fcd02ad9b818d9de39dfe671754.tar.gz
zig-270fbbcd86b02fcd02ad9b818d9de39dfe671754.zip
std.Target: Add muslabin32 and muslabi64 tags to Abi.
Once we upgrade to LLVM 20, these should be lowered verbatim rather than to simply musl. Similarly, the special case in llvmMachineAbi() should go away.
Diffstat (limited to 'test')
-rw-r--r--test/llvm_targets.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/llvm_targets.zig b/test/llvm_targets.zig
index 15ff356fd3..7cf7d3e8d9 100644
--- a/test/llvm_targets.zig
+++ b/test/llvm_targets.zig
@@ -161,6 +161,8 @@ const targets = [_]std.Target.Query{
.{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .gnuabi64 },
.{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .gnuabin32 },
.{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .musl },
+ .{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .muslabi64 },
+ .{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .muslabin32 },
.{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .none },
.{ .cpu_arch = .mips64, .os_tag = .netbsd, .abi = .none },
.{ .cpu_arch = .mips64, .os_tag = .openbsd, .abi = .none },
@@ -170,6 +172,8 @@ const targets = [_]std.Target.Query{
.{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .gnuabi64 },
.{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .gnuabin32 },
.{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .musl },
+ .{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .muslabi64 },
+ .{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .muslabin32 },
.{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .none },
.{ .cpu_arch = .mips64el, .os_tag = .netbsd, .abi = .none },
.{ .cpu_arch = .mips64el, .os_tag = .openbsd, .abi = .none },