diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-03-13 18:18:50 +0100 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-03-13 18:18:50 +0100 |
| commit | e6d93d731a6d3b3366e6cb80df3b1a4cf22a81f3 (patch) | |
| tree | b1d2c108a0fcb0c88c4f388d44aa9bb769bb12bc /build.zig | |
| parent | 1de4e140963df3a038330ab9efb74cc747ae5219 (diff) | |
| parent | 16a794fbeef0c1d98069dc825e55af38945b5165 (diff) | |
Merge pull request 'Add exercises for packed structs/unions' (#374) from justusk/ziglings:packed into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/374
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 10 |
1 files changed, 9 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); @@ -1309,6 +1309,14 @@ const exercises = [_]Exercise{ \\= 0110 }, .{ + .main_file = "111_packed.zig", + .output = "", + }, + .{ + .main_file = "112_packed2.zig", + .output = "", + }, + .{ .main_file = "999_the_end.zig", .output = \\ |
