We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb69e5 commit 667035fCopy full SHA for 667035f
lib/std/Build/Step.zig
@@ -202,6 +202,7 @@ pub fn init(options: StepOptions) Step {
202
.state = .precheck_unstarted,
203
.max_rss = options.max_rss,
204
.debug_stack_trace = blk: {
205
+ if (!std.debug.sys_can_stack_trace) break :blk &.{};
206
const addresses = arena.alloc(usize, options.owner.debug_stack_frames_count) catch @panic("OOM");
207
@memset(addresses, 0);
208
const first_ret_addr = options.first_ret_addr orelse @returnAddress();
0 commit comments