From 7853cd1e008b003f2881947615832249d2e0711e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 18 Jun 2026 04:20:40 +0200 Subject: [PATCH] test: add libc-less x32/n32 linux targets to module test matrix --- test/tests.zig | 118 +++++++++++++++++++++++++++++-------------------- 1 file changed, 71 insertions(+), 47 deletions(-) diff --git a/test/tests.zig b/test/tests.zig index e49abae93f3fd6432393d907b22e9865694cecd9..afe2f09560955a1a87282ffd411dd9e0fbca32c2 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -621,6 +621,14 @@ const module_test_targets = blk: { .abi = .none, }, }, + .{ + .target = .{ + .cpu_arch = .mips64, + .os_tag = .linux, + .abi = .abin32, + }, + .extra_target = true, + }, .{ .target = .{ .cpu_arch = .mips64, @@ -683,6 +691,14 @@ const module_test_targets = blk: { .abi = .none, }, }, + .{ + .target = .{ + .cpu_arch = .mips64el, + .os_tag = .linux, + .abi = .abin32, + }, + .extra_target = true, + }, .{ .target = .{ .cpu_arch = .mips64el, @@ -1145,6 +1161,61 @@ const module_test_targets = blk: { .use_llvm = true, .use_lld = true, }, + .{ + .target = .{ + .cpu_arch = .x86_64, + .os_tag = .linux, + .abi = .x32, + }, + .extra_target = true, + }, + .{ + .target = .{ + .cpu_arch = .x86_64, + .os_tag = .linux, + .abi = .musl, + }, + .link_libc = true, + }, + .{ + .target = .{ + .cpu_arch = .x86_64, + .os_tag = .linux, + .abi = .musl, + }, + .linkage = .dynamic, + .link_libc = true, + .extra_target = true, + }, + .{ + .target = .{ + .cpu_arch = .x86_64, + .os_tag = .linux, + .abi = .musl, + }, + .link_libc = true, + .use_llvm = true, + .use_lld = false, + }, + .{ + .target = .{ + .cpu_arch = .x86_64, + .os_tag = .linux, + .abi = .muslx32, + }, + .link_libc = true, + .extra_target = true, + }, + .{ + .target = .{ + .cpu_arch = .x86_64, + .os_tag = .linux, + .abi = .muslx32, + }, + .linkage = .dynamic, + .link_libc = true, + .extra_target = true, + }, .{ .target = .{ .cpu_arch = .x86_64, @@ -1162,53 +1233,6 @@ const module_test_targets = blk: { .link_libc = true, .extra_target = true, }, - .{ - .target = .{ - .cpu_arch = .x86_64, - .os_tag = .linux, - .abi = .musl, - }, - .link_libc = true, - }, - .{ - .target = .{ - .cpu_arch = .x86_64, - .os_tag = .linux, - .abi = .musl, - }, - .linkage = .dynamic, - .link_libc = true, - .extra_target = true, - }, - .{ - .target = .{ - .cpu_arch = .x86_64, - .os_tag = .linux, - .abi = .muslx32, - }, - .link_libc = true, - .extra_target = true, - }, - .{ - .target = .{ - .cpu_arch = .x86_64, - .os_tag = .linux, - .abi = .muslx32, - }, - .linkage = .dynamic, - .link_libc = true, - .extra_target = true, - }, - .{ - .target = .{ - .cpu_arch = .x86_64, - .os_tag = .linux, - .abi = .musl, - }, - .link_libc = true, - .use_llvm = true, - .use_lld = false, - }, // Darwin Targets -- 2.54.0