mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-14 18:01:58 +00:00
main: fix inverted allow_stack_tracing condition
The Zig 0.16.0 update dropped the negation from the std default (!strip_debug_info), disabling stack traces in every unstripped build. AI disclosure: Claude Fable was used to diagnose the problem and find the fix. Commit message was written by me. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QfzQME46DQXwMWa43bQaa3
This commit is contained in:
@@ -228,7 +228,7 @@ pub const std_options: std.Options = .{
|
||||
.allow_stack_tracing = if (builtin.target.os.tag.isDarwin() and builtin.target.os.tag != .macos)
|
||||
false
|
||||
else
|
||||
builtin.strip_debug_info,
|
||||
!builtin.strip_debug_info,
|
||||
};
|
||||
|
||||
test {
|
||||
|
||||
Reference in New Issue
Block a user