aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-26 19:27:15 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 19:49:07 -0700
commit190f6038bfca5e6239635cfeebd87d67d2501ea3 (patch)
tree99da329d57b7af92edc13fa3ce11c3bb7bc4caa8 /src
parent5e2035da145f2c758be26ee9817473b97274c34d (diff)
downloadzig-190f6038bfca5e6239635cfeebd87d67d2501ea3.tar.gz
zig-190f6038bfca5e6239635cfeebd87d67d2501ea3.zip
zig build: reintroduce --prominent-compile-errors
This reintroduced flag makes zig build behave the same as the previous commit. Without this flag, the default behavior is now changed to display compilation errors inline with the rest of error messages and the build tree context. This behavior is essential for making sense of error logs from projects that have two or more steps emitting compilation errors which is why it is now the default.
Diffstat (limited to 'src')
-rw-r--r--src/main.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig
index 54db7eb37d..a8ff0721ad 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -5096,6 +5096,7 @@ pub const usage_build =
\\ --global-cache-dir [path] Override path to global Zig cache directory
\\ --zig-lib-dir [arg] Override path to Zig lib directory
\\ --build-runner [file] Override path to build runner
+ \\ --prominent-compile-errors Buffer compile errors and display at end
\\ --seed [integer] For shuffling dependency traversal order (default: random)
\\ --fetch Exit after fetching dependency tree
\\ -h, --help Print this help and exit