diff --git a/lib/compiler/Maker/Step/FindProgram.zig b/lib/compiler/Maker/Step/FindProgram.zig index e0fece763899e1afa23f187099a4a1f7928032e3..d6cc22183b39bf6b44cfcfee8b24288152b3a5fc 100644 --- a/lib/compiler/Maker/Step/FindProgram.zig +++ b/lib/compiler/Maker/Step/FindProgram.zig @@ -96,7 +96,7 @@ fn checkCandidate( const extended_path = try std.mem.concat(arena, u8, &.{ full_path, ext }); if (Io.Dir.cwd().access(io, extended_path, .{ .execute = true })) |_| { - maker.generatedPath(found_path).* = .initCwd(extended_path); + _ = try maker.setGeneratedPath(found_path, .cwd, &.{extended_path}); return true; } else |err| switch (err) { error.Canceled => |e| return e,