aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckObject.zig
diff options
context:
space:
mode:
authorkcbanner <kcbanner@gmail.com>2023-07-27 02:53:40 -0400
committerkcbanner <kcbanner@gmail.com>2023-07-27 10:31:52 -0400
commit8b9627f01d44b94fad744f6d515dc32438130628 (patch)
treef6e84217af1abced5e910ea3a6d83e4f06ad68b7 /lib/std/Build/Step/CheckObject.zig
parent78449b6d980fc78d418f9b44d815781eda7587f7 (diff)
downloadzig-8b9627f01d44b94fad744f6d515dc32438130628.tar.gz
zig-8b9627f01d44b94fad744f6d515dc32438130628.zip
test: add a test that verifies no debug handlers get pulled into compiler_rt
build: fix CheckObject checkNotPresent only checking a single line of the haystack
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
-rw-r--r--lib/std/Build/Step/CheckObject.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/std/Build/Step/CheckObject.zig b/lib/std/Build/Step/CheckObject.zig
index 5a816b4103..e79468ec9b 100644
--- a/lib/std/Build/Step/CheckObject.zig
+++ b/lib/std/Build/Step/CheckObject.zig
@@ -478,8 +478,7 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void {
},
.not_present => {
while (it.next()) |line| {
- if (act.notPresent(b, step, line)) break;
- } else {
+ if (act.notPresent(b, step, line)) continue;
return step.fail(
\\
\\========= expected not to find: ===================