authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-02-05 18:33:19 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-02-05 18:33:19 -08:00
log60750ad11a077158240c59d5f728c37abbf458a6
tree6a5931721524cc37119b93fae1c8ebb6763574eb
parentfeab257a011a8ab9580d1cf82198634a0022845a

update for zig master


1 files changed, 1 insertions(+), 3 deletions(-)

src/main.zig+1-3
......@@ -3,10 +3,8 @@ const std = @import("std");
33const detectlicense = @import("detect-license");
44
55pub fn main() !void {
6 std.log.info("All your codebase are belong to us.", .{});
7
86 var gpa = std.heap.GeneralPurposeAllocator(.{}){};
9 const alloc = &gpa.allocator;
7 const alloc = gpa.allocator();
108
119 const license = try detectlicense.detectInDir(alloc, std.fs.cwd());
1210 std.debug.assert(std.mem.eql(u8, license.?, "MIT"));