Skip to content

Commit a1f088a

Browse files
committed
fix: main entry point is broken with version 0.11.0-dev.4228
1 parent b3b218a commit a1f088a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ const ZiglingStep = struct {
240240
std.os.exit(2);
241241
};
242242

243-
self.run(exe_path, prog_node) catch {
243+
self.run(exe_path.?, prog_node) catch {
244244
self.printErrors();
245245

246246
if (self.exercise.hint) |hint|
@@ -350,7 +350,7 @@ const ZiglingStep = struct {
350350
print("{s}PASSED{s}\n\n", .{ green_text, reset_text });
351351
}
352352

353-
fn compile(self: *ZiglingStep, prog_node: *std.Progress.Node) ![]const u8 {
353+
fn compile(self: *ZiglingStep, prog_node: *std.Progress.Node) !?[]const u8 {
354354
print("Compiling {s}...\n", .{self.exercise.main_file});
355355

356356
const b = self.step.owner;

0 commit comments

Comments
 (0)