# std.heap.GeneralPurposeAllocator: add \`never_unmap\` config option · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/583b843803c5851c1d9796ba301f6a602a6da3d9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 583b843803c5851c1d9796ba301f6a602a6da3d9

Requested commit: 583b843803c5851c1d9796ba301f6a602a6da3d9

Commit: 583b843803c5851c1d9796ba301f6a602a6da3d9

Tree: fff58c097776c13da3deef009f230747738f5ac7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.heap.GeneralPurposeAllocator: add `never_unmap` config option

This is a temporary debugging trick you can use to turn segfaults into more helpful
logged error messages with stack trace details. The downside is that every allocation
will be leaked!

```

## Parents

- [5547abd2d1fab482ab0d26a92058c94c298ce403](https://git.cafe/gitcafe/zig/commit/5547abd2d1fab482ab0d26a92058c94c298ce403?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/583b843803c5851c1d9796ba301f6a602a6da3d9?format=markdown)
