From 973ec410977b5fd15cf25b4385a7f5b6250ad1c6 Mon Sep 17 00:00:00 2001 From: Justus Klausecker Date: Fri, 13 Mar 2026 09:50:16 +0100 Subject: [PATCH] build.zig: replace deprecated `GeneralPurposeAllocator` alias with `DebugAllocator` --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 1099135..02ad592 100644 --- a/build.zig +++ b/build.zig @@ -265,7 +265,7 @@ pub fn build(b: *Build) !void { const progress_file_size = try progress_file.length(io); - var gpa = std.heap.GeneralPurposeAllocator(.{}){}; + var gpa = std.heap.DebugAllocator(.{}){}; defer _ = gpa.deinit(); const allocator = gpa.allocator(); const contents = try allocator.alloc(u8, progress_file_size);