| author | |
| committer | |
| log | 379f1c9fa0e9f7ec326ab13cc65d93a5101f3414 |
| tree | 975d83ba08824cefbd79e136fc67987ee1fa9249 |
| parent | c0378e85b62486ed95c3051c732501f6a8fbebb8 |
| signature |
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(); |