summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Klausecker <justus@klausecker.de>2026-03-13 09:50:16 +0100
committerJustus Klausecker <justus@klausecker.de>2026-03-13 09:50:58 +0100
commit973ec410977b5fd15cf25b4385a7f5b6250ad1c6 (patch)
treea7fabe7a6a1d490ed8d57349dabaf857e748f06d
parent1de4e140963df3a038330ab9efb74cc747ae5219 (diff)
build.zig: replace deprecated `GeneralPurposeAllocator` alias with `DebugAllocator`
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
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);