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: {...@@ -621,6 +621,14 @@ const module_test_targets = blk: {
621 .abi = .none,621 .abi = .none,
622 },622 },
623 },623 },
624 .{
625 .target = .{
626 .cpu_arch = .mips64,
627 .os_tag = .linux,
628 .abi = .abin32,
629 },
630 .extra_target = true,
631 },
624 .{632 .{
625 .target = .{633 .target = .{
626 .cpu_arch = .mips64,634 .cpu_arch = .mips64,
...@@ -683,6 +691,14 @@ const module_test_targets = blk: {...@@ -683,6 +691,14 @@ const module_test_targets = blk: {
683 .abi = .none,691 .abi = .none,
684 },692 },
685 },693 },
694 .{
695 .target = .{
696 .cpu_arch = .mips64el,
697 .os_tag = .linux,
698 .abi = .abin32,
699 },
700 .extra_target = true,
701 },
686 .{702 .{
687 .target = .{703 .target = .{
688 .cpu_arch = .mips64el,704 .cpu_arch = .mips64el,
...@@ -1149,18 +1165,17 @@ const module_test_targets = blk: {...@@ -1149,18 +1165,17 @@ const module_test_targets = blk: {
1149 .target = .{1165 .target = .{
1150 .cpu_arch = .x86_64,1166 .cpu_arch = .x86_64,
1151 .os_tag = .linux,1167 .os_tag = .linux,
1152 .abi = .gnu,1168 .abi = .x32,
1153 },1169 },
1154 .link_libc = true,1170 .extra_target = true,
1155 },1171 },
1156 .{1172 .{
1157 .target = .{1173 .target = .{
1158 .cpu_arch = .x86_64,1174 .cpu_arch = .x86_64,
1159 .os_tag = .linux,1175 .os_tag = .linux,
1160 .abi = .gnux32,1176 .abi = .musl,
1161 },1177 },
1162 .link_libc = true,1178 .link_libc = true,
1163 .extra_target = true,
1164 },1179 },
1165 .{1180 .{
1166 .target = .{1181 .target = .{
...@@ -1168,7 +1183,9 @@ const module_test_targets = blk: {...@@ -1168,7 +1183,9 @@ const module_test_targets = blk: {
1168 .os_tag = .linux,1183 .os_tag = .linux,
1169 .abi = .musl,1184 .abi = .musl,
1170 },1185 },
1186 .linkage = .dynamic,
1171 .link_libc = true,1187 .link_libc = true,
1188 .extra_target = true,
1172 },1189 },
1173 .{1190 .{
1174 .target = .{1191 .target = .{
...@@ -1176,9 +1193,9 @@ const module_test_targets = blk: {...@@ -1176,9 +1193,9 @@ const module_test_targets = blk: {
1176 .os_tag = .linux,1193 .os_tag = .linux,
1177 .abi = .musl,1194 .abi = .musl,
1178 },1195 },
1179 .linkage = .dynamic,
1180 .link_libc = true,1196 .link_libc = true,
1181 .extra_target = true,1197 .use_llvm = true,
1198 .use_lld = false,
1182 },1199 },
1183 .{1200 .{
1184 .target = .{1201 .target = .{
...@@ -1203,11 +1220,18 @@ const module_test_targets = blk: {...@@ -1203,11 +1220,18 @@ const module_test_targets = blk: {
1203 .target = .{1220 .target = .{
1204 .cpu_arch = .x86_64,1221 .cpu_arch = .x86_64,
1205 .os_tag = .linux,1222 .os_tag = .linux,
1206 .abi = .musl,1223 .abi = .gnu,
1207 },1224 },
1208 .link_libc = true,1225 .link_libc = true,
1209 .use_llvm = true,1226 },
1210 .use_lld = false,1227 .{
1228 .target = .{
1229 .cpu_arch = .x86_64,
1230 .os_tag = .linux,
1231 .abi = .gnux32,
1232 },
1233 .link_libc = true,
1234 .extra_target = true,
1211 },1235 },
12121236
1213 // Darwin Targets1237 // Darwin Targets