We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54806ec commit 898e5cdCopy full SHA for 898e5cd
lib/std/build/run.zig
@@ -182,7 +182,7 @@ pub const RunStep = struct {
182
defer self.builder.allocator.free(stdout);
183
184
var stderr: []const u8 = undefined;
185
- switch (self.stdout_behavior) {
+ switch (self.stderr_behavior) {
186
.expect_exact, .expect_matches => {
187
var stderr_file_in_stream = child.stderr.?.inStream();
188
stderr = stderr_file_in_stream.stream.readAllAlloc(self.builder.allocator, max_stdout_size) catch unreachable;
0 commit comments