# build.zig: add \-Dmem-leak-frames option · gitcafe/zig

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

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

Visibility: public

Requested revision: 2910b10033f955a99aacc2e833421ac47512c9b7

Requested commit: 2910b10033f955a99aacc2e833421ac47512c9b7

Commit: 2910b10033f955a99aacc2e833421ac47512c9b7

Tree: da8dd7fbcaee5e85edc40ca52450f30ca2bafc4d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
build.zig: add -Dmem-leak-frames option

to configure how many stack frames to save with every allocation, in
case it leaks and needs to get printed on process termination.

```

## Parents

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

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