diff options
| author | dweiller <4678790+dweiller@users.noreply.github.com> | 2023-11-19 01:35:59 +1100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-11-19 00:12:43 +0200 |
| commit | 325e0f5f0e8a9ce2540ec3ec5b7cbbecac15257a (patch) | |
| tree | 18e1e7532f65c60d8e245a81225cd5ab016f7a3b /lib/std/Build/Step.zig | |
| parent | 4e212f16506b88d934d9a0c559fa6b2e0e88574e (diff) | |
| download | zig-325e0f5f0e8a9ce2540ec3ec5b7cbbecac15257a.tar.gz zig-325e0f5f0e8a9ce2540ec3ec5b7cbbecac15257a.zip | |
test: check compile errors when compilation has no errors
Diffstat (limited to 'lib/std/Build/Step.zig')
| -rw-r--r-- | lib/std/Build/Step.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step.zig b/lib/std/Build/Step.zig index d278ebf092..872035fb3d 100644 --- a/lib/std/Build/Step.zig +++ b/lib/std/Build/Step.zig @@ -415,7 +415,7 @@ pub fn evalZigProcess( .Exited => { // Note that the exit code may be 0 in this case due to the // compiler server protocol. - if (compile.expect_errors != null and s.result_error_bundle.errorMessageCount() > 0) { + if (compile.expect_errors != null) { return error.NeedCompileErrorCheck; } }, |
