| ... | @@ -202,6 +202,7 @@ pub fn init(options: StepOptions) Step { | ... | @@ -202,6 +202,7 @@ pub fn init(options: StepOptions) Step { |
| 202 | .state = .precheck_unstarted, | 202 | .state = .precheck_unstarted, |
| 203 | .max_rss = options.max_rss, | 203 | .max_rss = options.max_rss, |
| 204 | .debug_stack_trace = blk: { | 204 | .debug_stack_trace = blk: { |
| | 205 | if (!std.debug.sys_can_stack_trace) break :blk &.{}; |
| 205 | const addresses = arena.alloc(usize, options.owner.debug_stack_frames_count) catch @panic("OOM"); | 206 | const addresses = arena.alloc(usize, options.owner.debug_stack_frames_count) catch @panic("OOM"); |
| 206 | @memset(addresses, 0); | 207 | @memset(addresses, 0); |
| 207 | const first_ret_addr = options.first_ret_addr orelse @returnAddress(); | 208 | const first_ret_addr = options.first_ret_addr orelse @returnAddress(); |