diff options
| author | Justus Klausecker <justus@klausecker.de> | 2026-03-13 09:50:16 +0100 |
|---|---|---|
| committer | Justus Klausecker <justus@klausecker.de> | 2026-03-13 09:50:58 +0100 |
| commit | 973ec410977b5fd15cf25b4385a7f5b6250ad1c6 (patch) | |
| tree | a7fabe7a6a1d490ed8d57349dabaf857e748f06d /build.zig | |
| parent | 1de4e140963df3a038330ab9efb74cc747ae5219 (diff) | |
build.zig: replace deprecated `GeneralPurposeAllocator` alias with `DebugAllocator`
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
