aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-08-08 00:34:13 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-08-08 00:34:13 -0700
commitcd6cdd0a752ba3e134ba371246cc02b1d7faaa88 (patch)
treee4b6aaa5a1d47466addf16fc1b60a9b40cb98bf8 /lib/std/testing.zig
parent0347df82e8c821906ef0d07ec65fe4b3884c0212 (diff)
downloadzig-cd6cdd0a752ba3e134ba371246cc02b1d7faaa88.tar.gz
zig-cd6cdd0a752ba3e134ba371246cc02b1d7faaa88.zip
std.mem.Allocator: add return_address to the interface
The high level Allocator interface API functions will now do a `@returnAddress()` so that stack traces captured by allocator implementations have a return address that does not include the Allocator overhead functions. This makes `4` a more reasonable default for how many stack frames to capture.
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions