authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-18 04:20:40+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-18 04:29:24+02:00
log7853cd1e008b003f2881947615832249d2e0711e
treedeb92c06e21e45738716ad5fa3b0bbd4bec1d4cd
parent49f8996e1ef12d127512dc130a836c4eb5504e56
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: add libc-less x32/n32 linux targets to module test matrix


1 files changed, 33 insertions(+), 9 deletions(-)

test/tests.zig+33-9
......@@ -621,6 +621,14 @@ const module_test_targets = blk: {
621621 .abi = .none,
622622 },
623623 },
624 .{
625 .target = .{
626 .cpu_arch = .mips64,
627 .os_tag = .linux,
628 .abi = .abin32,
629 },
630 .extra_target = true,
631 },
624632 .{
625633 .target = .{
626634 .cpu_arch = .mips64,
......@@ -683,6 +691,14 @@ const module_test_targets = blk: {
683691 .abi = .none,
684692 },
685693 },
694 .{
695 .target = .{
696 .cpu_arch = .mips64el,
697 .os_tag = .linux,
698 .abi = .abin32,
699 },
700 .extra_target = true,
701 },
686702 .{
687703 .target = .{
688704 .cpu_arch = .mips64el,
......@@ -1149,18 +1165,17 @@ const module_test_targets = blk: {
11491165 .target = .{
11501166 .cpu_arch = .x86_64,
11511167 .os_tag = .linux,
1152 .abi = .gnu,
1168 .abi = .x32,
11531169 },
1154 .link_libc = true,
1170 .extra_target = true,
11551171 },
11561172 .{
11571173 .target = .{
11581174 .cpu_arch = .x86_64,
11591175 .os_tag = .linux,
1160 .abi = .gnux32,
1176 .abi = .musl,
11611177 },
11621178 .link_libc = true,
1163 .extra_target = true,
11641179 },
11651180 .{
11661181 .target = .{
......@@ -1168,7 +1183,9 @@ const module_test_targets = blk: {
11681183 .os_tag = .linux,
11691184 .abi = .musl,
11701185 },
1186 .linkage = .dynamic,
11711187 .link_libc = true,
1188 .extra_target = true,
11721189 },
11731190 .{
11741191 .target = .{
......@@ -1176,9 +1193,9 @@ const module_test_targets = blk: {
11761193 .os_tag = .linux,
11771194 .abi = .musl,
11781195 },
1179 .linkage = .dynamic,
11801196 .link_libc = true,
1181 .extra_target = true,
1197 .use_llvm = true,
1198 .use_lld = false,
11821199 },
11831200 .{
11841201 .target = .{
......@@ -1203,11 +1220,18 @@ const module_test_targets = blk: {
12031220 .target = .{
12041221 .cpu_arch = .x86_64,
12051222 .os_tag = .linux,
1206 .abi = .musl,
1223 .abi = .gnu,
12071224 },
12081225 .link_libc = true,
1209 .use_llvm = true,
1210 .use_lld = false,
1226 },
1227 .{
1228 .target = .{
1229 .cpu_arch = .x86_64,
1230 .os_tag = .linux,
1231 .abi = .gnux32,
1232 },
1233 .link_libc = true,
1234 .extra_target = true,
12111235 },
12121236
12131237 // Darwin Targets