| ... | ... | @@ -1120,7 +1120,9 @@ pub const LibExeObjStep = struct { |
| 1120 | 1120 | /// Add command line arguments with `addArg`. |
| 1121 | 1121 | pub fn run(exe: *LibExeObjStep) *RunStep { |
| 1122 | 1122 | assert(exe.kind == Kind.Exe); |
| 1123 | | assert(exe.target == Target.Native); |
| 1123 | // It doesn't have to be native. We catch that if you actually try to run it. |
| 1124 | // Consider that this is declarative; the run step may not be run unless a user |
| 1125 | // option is supplied. |
| 1124 | 1126 | const run_step = RunStep.create(exe.builder, exe.builder.fmt("run {}", exe.step.name)); |
| 1125 | 1127 | run_step.addArtifactArg(exe); |
| 1126 | 1128 | return run_step; |