From b1a0a4e03bf00d56bcd09ef07b733639cdca9ff8 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Fri, 26 Sep 2025 02:14:07 -0700 Subject: [PATCH] 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. --- src/main.zig | 4 ++-- 1 file 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