authorgravatar for der.teufel.mail@gmail.comKrzysztof Wolicki <der.teufel.mail@gmail.com> 2023-09-29 20:14:42+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2023-09-29 14:14:42-04:00
loge919fbea9fd62e55ebbfb0739a2a468c93673e93
treeadd808cf69ade7a0aeb4ff1fc1235e98d40ffe98
parentc07d6e4c17ab555250e75bd053d27fd7df20f928
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Step.Run: fix assert of the wrong value (#17303)

closes #16866

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Build/Step/Run.zig+1-1
...@@ -993,7 +993,7 @@ fn spawnChildAndCollect(...@@ -993,7 +993,7 @@ fn spawnChildAndCollect(
993 if (self.captured_stdout != null) child.stdout_behavior = .Pipe;993 if (self.captured_stdout != null) child.stdout_behavior = .Pipe;
994 if (self.captured_stderr != null) child.stderr_behavior = .Pipe;994 if (self.captured_stderr != null) child.stderr_behavior = .Pipe;
995 if (self.stdin != .none) {995 if (self.stdin != .none) {
996 assert(child.stdin_behavior != .Inherit);996 assert(self.stdio != .inherit);
997 child.stdin_behavior = .Pipe;997 child.stdin_behavior = .Pipe;
998 }998 }
999999