| ... | ... | @@ -196,6 +196,15 @@ const test_targets = blk: { |
| 196 | 196 | }, |
| 197 | 197 | .link_libc = true, |
| 198 | 198 | }, |
| 199 | .{ |
| 200 | .target = .{ |
| 201 | .cpu_arch = .x86_64, |
| 202 | .os_tag = .linux, |
| 203 | .abi = .musl, |
| 204 | }, |
| 205 | .link_libc = true, |
| 206 | .use_lld = false, |
| 207 | }, |
| 199 | 208 | |
| 200 | 209 | .{ |
| 201 | 210 | .target = .{ |
| ... | ... | @@ -1031,6 +1040,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 1031 | 1040 | "-selfhosted" |
| 1032 | 1041 | else |
| 1033 | 1042 | ""; |
| 1043 | const use_lld = if (test_target.use_lld == false) "-no-lld" else ""; |
| 1034 | 1044 | |
| 1035 | 1045 | these_tests.addIncludePath(.{ .path = "test" }); |
| 1036 | 1046 | |
| ... | ... | @@ -1039,13 +1049,14 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 1039 | 1049 | these_tests.stack_size = 2 * 1024 * 1024; |
| 1040 | 1050 | } |
| 1041 | 1051 | |
| 1042 | | const qualified_name = b.fmt("{s}-{s}-{s}{s}{s}{s}", .{ |
| 1052 | const qualified_name = b.fmt("{s}-{s}-{s}{s}{s}{s}{s}", .{ |
| 1043 | 1053 | options.name, |
| 1044 | 1054 | triple_txt, |
| 1045 | 1055 | @tagName(test_target.optimize_mode), |
| 1046 | 1056 | libc_suffix, |
| 1047 | 1057 | single_threaded_suffix, |
| 1048 | 1058 | backend_suffix, |
| 1059 | use_lld, |
| 1049 | 1060 | }); |
| 1050 | 1061 | |
| 1051 | 1062 | if (test_target.target.ofmt == std.Target.ObjectFormat.c) { |