aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/src_outside_function.zig
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2022-07-30 10:57:44 +0000
committerAndrew Kelley <andrew@ziglang.org>2022-07-31 12:56:00 -0700
commitb35490c21732d74232680d2de2deb89f97356c0d (patch)
tree0fcf32b4a694d4514a5b29eb582ef0653ccf59d1 /test/cases/compile_errors/src_outside_function.zig
parentc0a1b4fa46dfd00d0cc4d1b6954bc07ae762e31e (diff)
downloadzig-b35490c21732d74232680d2de2deb89f97356c0d.tar.gz
zig-b35490c21732d74232680d2de2deb89f97356c0d.zip
cmake: Print all LLVM config errors instead of just the last one
If you have multiple llvm-config executables in your path, and all of them cause failures, then only the last failure will be printed. This can cause confusion when the multiple llvm-config executables are from different major LLVM versions, i.e. LLVM 13 and 14, which might mask an error that happened on the LLVM 14 llvm-config with an unrelated error. This commit makes it so that all errors are collected into a list and printed all at once; this way, you can see how each llvm-config executable failed to configure properly. Note that the failures still won't be printed if a successful configuration is found.
Diffstat (limited to 'test/cases/compile_errors/src_outside_function.zig')
0 files changed, 0 insertions, 0 deletions