| ... | @@ -105,7 +105,7 @@ const StackTrace = std.builtin.StackTrace; | ... | @@ -105,7 +105,7 @@ const StackTrace = std.builtin.StackTrace; |
| 105 | /// Integer type for pointing to slots in a small allocation | 105 | /// Integer type for pointing to slots in a small allocation |
| 106 | const SlotIndex = std.meta.Int(.unsigned, math.log2(page_size) + 1); | 106 | const SlotIndex = std.meta.Int(.unsigned, math.log2(page_size) + 1); |
| 107 | | 107 | |
| 108 | const default_test_stack_trace_frames: usize = if (builtin.is_test) 8 else 4; | 108 | const default_test_stack_trace_frames: usize = if (builtin.is_test) 10 else 6; |
| 109 | const default_sys_stack_trace_frames: usize = if (std.debug.sys_can_stack_trace) default_test_stack_trace_frames else 0; | 109 | const default_sys_stack_trace_frames: usize = if (std.debug.sys_can_stack_trace) default_test_stack_trace_frames else 0; |
| 110 | const default_stack_trace_frames: usize = switch (builtin.mode) { | 110 | const default_stack_trace_frames: usize = switch (builtin.mode) { |
| 111 | .Debug => default_sys_stack_trace_frames, | 111 | .Debug => default_sys_stack_trace_frames, |