From 190f6038bfca5e6239635cfeebd87d67d2501ea3 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 26 Dec 2023 19:27:15 -0700 Subject: 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. --- src/main.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3