We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3b218a commit a1f088aCopy full SHA for a1f088a
build.zig
@@ -240,7 +240,7 @@ const ZiglingStep = struct {
240
std.os.exit(2);
241
};
242
243
- self.run(exe_path, prog_node) catch {
+ self.run(exe_path.?, prog_node) catch {
244
self.printErrors();
245
246
if (self.exercise.hint) |hint|
@@ -350,7 +350,7 @@ const ZiglingStep = struct {
350
print("{s}PASSED{s}\n\n", .{ green_text, reset_text });
351
}
352
353
- fn compile(self: *ZiglingStep, prog_node: *std.Progress.Node) ![]const u8 {
+ fn compile(self: *ZiglingStep, prog_node: *std.Progress.Node) !?[]const u8 {
354
print("Compiling {s}...\n", .{self.exercise.main_file});
355
356
const b = self.step.owner;
0 commit comments