Refine setup
This commit is contained in:
parent
f4670e510f
commit
d64050a402
16 changed files with 4158 additions and 30 deletions
15
src/main.zig
Normal file
15
src/main.zig
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
const std = @import("std");
|
||||
|
||||
const day = @import("day");
|
||||
|
||||
pub fn main() !void {
|
||||
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
|
||||
defer arena.deinit();
|
||||
|
||||
const allocator = arena.allocator();
|
||||
|
||||
std.debug.print("{s}\n", .{day.title});
|
||||
try day.run(allocator);
|
||||
std.debug.print("\n", .{});
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue