zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit c40dbd6ff098e9df91cfe3f602419869293e889b (tree)
parent 65af34b1bf43c6354618dd95d16297f2be8f4a1b
Author: Ryan Liptak <squeek502@hotmail.com>
Date:   Fri, 26 Sep 2025 02:14:07 -0700

Update descriptions of -f[no-]error-tracing to match the actual behavior

Before https://github.com/ziglang/zig/pull/18160, error tracing defaulted to true in ReleaseSafe, but that is no longer the case. These option descriptions were never updating accordingly.

Diffstat:
Msrc/main.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.zig b/src/main.zig @@ -539,8 +539,8 @@ const usage_build_generic = \\ -funwind-tables Always produce unwind table entries for all functions \\ -fasync-unwind-tables Always produce asynchronous unwind table entries for all functions \\ -fno-unwind-tables Never produce unwind table entries - \\ -ferror-tracing Enable error tracing in ReleaseFast mode - \\ -fno-error-tracing Disable error tracing in Debug and ReleaseSafe mode + \\ -ferror-tracing Enable error tracing in release builds + \\ -fno-error-tracing Disable error tracing in debug builds \\ -fsingle-threaded Code assumes there is only one thread \\ -fno-single-threaded Code may not assume there is only one thread \\ -fstrip Omit debug symbols