diff options
| author | Igor Anić <igor.anic@gmail.com> | 2024-04-09 14:47:34 +0200 |
|---|---|---|
| committer | Igor Anić <igor.anic@gmail.com> | 2024-04-09 15:00:22 +0200 |
| commit | 4151e6c31b50ffaab0c9b68106f7903c3d99c810 (patch) | |
| tree | a93c7b4b946a3e3508ebfc3938a97dea16886d46 /lib/std/Build/Step/CheckObject.zig | |
| parent | f8dd2a1064154e5e8223c4d52e123b582497a40d (diff) | |
| download | zig-4151e6c31b50ffaab0c9b68106f7903c3d99c810.tar.gz zig-4151e6c31b50ffaab0c9b68106f7903c3d99c810.zip | |
fetch: use arena allocator for diagnostic/UnpackResult
Reference:
https://github.com/ziglang/zig/pull/19500#discussion_r1556476973
Arena is now used for Diagnostic (tar and git). `deinit` is not called on Diagnostic
allowing us to reference strings from Diagnostic in UnpackResult without
dupe.
That seamed reasonable to me. Instead of using gpa for Diagnostic, and
then dupe to arena. Or using arena for both and making dupe so we can deinit
Diagnostic.
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
0 files changed, 0 insertions, 0 deletions
