aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_hash_map.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-23 18:36:00 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-10-23 18:36:00 -0700
commitc01aa26bd3715f2426f45f67de944b3192293d37 (patch)
tree7d67cfa1c0a8668543ab96c451f3aa9142a1d622 /lib/std/array_hash_map.zig
parent46a6d50fdf4d26e8af22fb6a5207b9fab3d0777a (diff)
downloadzig-c01aa26bd3715f2426f45f67de944b3192293d37.tar.gz
zig-c01aa26bd3715f2426f45f67de944b3192293d37.zip
tracy: protect source info via global constant
When the code is written this way, you get a compile error if the pointer given to Tracy does not have a static lifetime. This would have caught the regression in #13315.
Diffstat (limited to 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions