@@ -15,7 +15,7 @@ const print = std.debug.print;
15
15
// 1) Getting Started
16
16
// 2) Version Changes
17
17
comptime {
18
- const required_zig = "0.12 .0-dev.3518 " ;
18
+ const required_zig = "0.13 .0-dev.339 " ;
19
19
const current_zig = builtin .zig_version ;
20
20
const min_zig = std .SemanticVersion .parse (required_zig ) catch unreachable ;
21
21
if (current_zig .order (min_zig ) == .lt ) {
@@ -244,7 +244,7 @@ const ZiglingStep = struct {
244
244
return self ;
245
245
}
246
246
247
- fn make (step : * Step , prog_node : * std.Progress.Node ) ! void {
247
+ fn make (step : * Step , prog_node : std.Progress.Node ) ! void {
248
248
// NOTE: Using exit code 2 will prevent the Zig compiler to print the message:
249
249
// "error: the following build command failed with exit code 1:..."
250
250
const self : * ZiglingStep = @alignCast (@fieldParentPtr ("step" , step ));
@@ -279,7 +279,7 @@ const ZiglingStep = struct {
279
279
self .printErrors ();
280
280
}
281
281
282
- fn run (self : * ZiglingStep , exe_path : []const u8 , _ : * std.Progress.Node ) ! void {
282
+ fn run (self : * ZiglingStep , exe_path : []const u8 , _ : std.Progress.Node ) ! void {
283
283
resetLine ();
284
284
print ("Checking: {s}\n " , .{self .exercise .main_file });
285
285
@@ -375,7 +375,7 @@ const ZiglingStep = struct {
375
375
print ("{s}PASSED{s}\n\n " , .{ green_text , reset_text });
376
376
}
377
377
378
- fn compile (self : * ZiglingStep , prog_node : * std.Progress.Node ) ! ? []const u8 {
378
+ fn compile (self : * ZiglingStep , prog_node : std.Progress.Node ) ! ? []const u8 {
379
379
print ("Compiling: {s}\n " , .{self .exercise .main_file });
380
380
381
381
const b = self .step .owner ;
@@ -494,7 +494,7 @@ const PrintStep = struct {
494
494
return self ;
495
495
}
496
496
497
- fn make (step : * Step , _ : * std.Progress.Node ) ! void {
497
+ fn make (step : * Step , _ : std.Progress.Node ) ! void {
498
498
const self : * PrintStep = @alignCast (@fieldParentPtr ("step" , step ));
499
499
print ("{s}" , .{self .message });
500
500
}
0 commit comments