| ... | ... | @@ -162,8 +162,7 @@ const use_safe_allocator = build_options.debug_gpa or |
| 162 | 162 | .ReleaseFast, .ReleaseSmall => false, |
| 163 | 163 | }); |
| 164 | 164 | |
| 165 | | // TODO: The `align(@alignOf(std.heap.SafeAllocator))` can be removed the next time zig1.wasm is updated |
| 166 | | var safe_allocator: std.heap.SafeAllocator align(@alignOf(std.heap.SafeAllocator)) = .init(std.heap.page_allocator, .{ |
| 165 | var safe_allocator: std.heap.SafeAllocator = .init(std.heap.page_allocator, .{ |
| 167 | 166 | .stack_trace_frames = build_options.mem_leak_frames, |
| 168 | 167 | }); |
| 169 | 168 | |