| author | |
| committer | |
| log | 1cfbfc1d3429d33e3c02f6f68b4cc94370d95db5 |
| tree | bf192e627d5782a74cea1b296cfa58ef068ed118 |
| parent | 8c5c1de60b71b4310ae629c30e3c7b0df3575341 |
| signature |
2 files changed, 8 insertions(+), 2 deletions(-)
test/src/Cases.zig+4-1| ... | ... | @@ -572,7 +572,10 @@ pub fn lowerToTranslateCSteps( |
| 572 | 572 | }); |
| 573 | 573 | translate_c.step.name = b.fmt("{s} translate-c", .{annotated_case_name}); |
| 574 | 574 | |
| 575 | const run_exe = translate_c.addExecutable(.{}); | |
| 575 | const run_exe = b.addExecutable(.{ | |
| 576 | .name = "translated_c", | |
| 577 | .root_module = translate_c.createModule(), | |
| 578 | }); | |
| 576 | 579 | run_exe.step.name = b.fmt("{s} build-exe", .{annotated_case_name}); |
| 577 | 580 | run_exe.linkLibC(); |
| 578 | 581 | const run = b.addRunArtifact(run_exe); |
test/src/RunTranslatedC.zig+4-1| ... | ... | @@ -84,7 +84,10 @@ pub fn addCase(self: *RunTranslatedCContext, case: *const TestCase) void { |
| 84 | 84 | }); |
| 85 | 85 | |
| 86 | 86 | translate_c.step.name = b.fmt("{s} translate-c", .{annotated_case_name}); |
| 87 | const exe = translate_c.addExecutable(.{}); | |
| 87 | const exe = b.addExecutable(.{ | |
| 88 | .name = "translated_c", | |
| 89 | .root_module = translate_c.createModule(), | |
| 90 | }); | |
| 88 | 91 | exe.step.name = b.fmt("{s} build-exe", .{annotated_case_name}); |
| 89 | 92 | exe.linkLibC(); |
| 90 | 93 | const run = b.addRunArtifact(exe); |