Skip to content

Commit 1a992fc

Browse files
squeek502paaloeye
authored andcommitted
Update descriptions of -f[no-]error-tracing to match the actual behavior
Before ziglang#18160, error tracing defaulted to true in ReleaseSafe, but that is no longer the case. These option descriptions were never updating accordingly.
1 parent ddc6d2f commit 1a992fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@ const usage_build_generic =
523523
\\ -funwind-tables Always produce unwind table entries for all functions
524524
\\ -fasync-unwind-tables Always produce asynchronous unwind table entries for all functions
525525
\\ -fno-unwind-tables Never produce unwind table entries
526-
\\ -ferror-tracing Enable error tracing in ReleaseFast mode
527-
\\ -fno-error-tracing Disable error tracing in Debug and ReleaseSafe mode
526+
\\ -ferror-tracing Enable error tracing in release builds
527+
\\ -fno-error-tracing Disable error tracing in debug builds
528528
\\ -fsingle-threaded Code assumes there is only one thread
529529
\\ -fno-single-threaded Code may not assume there is only one thread
530530
\\ -fstrip Omit debug symbols

0 commit comments

Comments
 (0)