diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-23 18:36:00 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-23 18:36:00 -0700 |
| commit | c01aa26bd3715f2426f45f67de944b3192293d37 (patch) | |
| tree | 7d67cfa1c0a8668543ab96c451f3aa9142a1d622 /lib/std/json | |
| parent | 46a6d50fdf4d26e8af22fb6a5207b9fab3d0777a (diff) | |
| download | zig-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/json')
0 files changed, 0 insertions, 0 deletions
