| ... | @@ -191,6 +191,13 @@ pub const RunStep = struct { | ... | @@ -191,6 +191,13 @@ pub const RunStep = struct { |
| 191 | child.stdout_behavior = stdIoActionToBehavior(self.stdout_action); | 191 | child.stdout_behavior = stdIoActionToBehavior(self.stdout_action); |
| 192 | child.stderr_behavior = stdIoActionToBehavior(self.stderr_action); | 192 | child.stderr_behavior = stdIoActionToBehavior(self.stderr_action); |
| 193 | | 193 | |
| | 194 | if (self.builder.verbose) { |
| | 195 | for (argv) |arg| { |
| | 196 | warn("{s} ", .{arg}); |
| | 197 | } |
| | 198 | warn("\n", .{}); |
| | 199 | } |
| | 200 | |
| 194 | child.spawn() catch |err| { | 201 | child.spawn() catch |err| { |
| 195 | warn("Unable to spawn {s}: {s}\n", .{ argv[0], @errorName(err) }); | 202 | warn("Unable to spawn {s}: {s}\n", .{ argv[0], @errorName(err) }); |
| 196 | return err; | 203 | return err; |