diff options
| author | kcbanner <kcbanner@gmail.com> | 2023-07-27 02:53:40 -0400 |
|---|---|---|
| committer | kcbanner <kcbanner@gmail.com> | 2023-07-27 10:31:52 -0400 |
| commit | 8b9627f01d44b94fad744f6d515dc32438130628 (patch) | |
| tree | f6e84217af1abced5e910ea3a6d83e4f06ad68b7 /lib/std/Build/Step/CheckObject.zig | |
| parent | 78449b6d980fc78d418f9b44d815781eda7587f7 (diff) | |
| download | zig-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.zig | 3 |
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: =================== |
