| ... | @@ -618,7 +618,7 @@ pub fn addRunArtifact(b: *Build, exe: *CompileStep) *RunStep { | ... | @@ -618,7 +618,7 @@ pub fn addRunArtifact(b: *Build, exe: *CompileStep) *RunStep { |
| 618 | // It doesn't have to be native. We catch that if you actually try to run it. | 618 | // It doesn't have to be native. We catch that if you actually try to run it. |
| 619 | // Consider that this is declarative; the run step may not be run unless a user | 619 | // Consider that this is declarative; the run step may not be run unless a user |
| 620 | // option is supplied. | 620 | // option is supplied. |
| 621 | const run_step = RunStep.create(b, b.fmt("run {s}", .{exe.step.name})); | 621 | const run_step = RunStep.create(b, b.fmt("run {s}", .{exe.name})); |
| 622 | run_step.addArtifactArg(exe); | 622 | run_step.addArtifactArg(exe); |
| 623 | | 623 | |
| 624 | if (exe.kind == .test_exe) { | 624 | if (exe.kind == .test_exe) { |