Skip to content

Commit d9e4a26

Browse files
committed
fix(update_zon): replace gpa to init.gpa (juicy main)
1 parent 0cb7310 commit d9e4a26

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

update_zon.zig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ const fmt = std.fmt;
55
const boost_version = "boost-1.90.0";
66

77
pub fn main(init: std.process.Init) !void {
8-
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
9-
const allocator = gpa.allocator();
10-
defer std.debug.assert(gpa.deinit() == .ok);
8+
const allocator = init.gpa;
119

1210
for (git_urls) |git_url| {
1311
// Extract package name from URL

0 commit comments

Comments
 (0)