commit b1a0a4e03bf00d56bcd09ef07b733639cdca9ff8 (tree)
parent e0dc2e4e3ffe72e5e637e30bdf1d2c59b56f3cb6
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:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.zig b/src/main.zig
@@ -523,8 +523,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