aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2025-09-26 02:14:07 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-09-26 14:01:17 -0700
commitb1a0a4e03bf00d56bcd09ef07b733639cdca9ff8 (patch)
treeec773f90d949a68724f5d92fcacfa7cd6c0d6f0b /src
parente0dc2e4e3ffe72e5e637e30bdf1d2c59b56f3cb6 (diff)
downloadzig-b1a0a4e03bf00d56bcd09ef07b733639cdca9ff8.tar.gz
zig-b1a0a4e03bf00d56bcd09ef07b733639cdca9ff8.zip
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 (limited to 'src')
-rw-r--r--src/main.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig
index 1496eed514..1111031e87 100644
--- 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