| author | |
| committer | |
| log | 667035fc7834079f26ee2c97a01a412d5ff64cc2 |
| tree | 70d78e1e713451a2240513a2e653817cce41afba |
| parent | 2cb69e53b45286019465e78ec1454cf18e67bf24 |
1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/Build/Step.zig+1| ... | ... | @@ -202,6 +202,7 @@ pub fn init(options: StepOptions) Step { |
| 202 | 202 | .state = .precheck_unstarted, |
| 203 | 203 | .max_rss = options.max_rss, |
| 204 | 204 | .debug_stack_trace = blk: { |
| 205 | if (!std.debug.sys_can_stack_trace) break :blk &.{}; | |
| 205 | 206 | const addresses = arena.alloc(usize, options.owner.debug_stack_frames_count) catch @panic("OOM"); |
| 206 | 207 | @memset(addresses, 0); |
| 207 | 208 | const first_ret_addr = options.first_ret_addr orelse @returnAddress(); |