authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-10 00:42:41-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-12 00:14:08-07:00
log5c3fae3a329bed39f780827b4c5bfc494dee1c6b
tree6a282547becafb4f791b9b2d5d9fe0201d63f167
parent61d2234743e192bbee1d05c1d231427c3338d2af

td.Build.Step.InstallDir: leave hint for wrong cached status

Since I spent a couple minutes debugging this, hopefully this saves someone some future trouble doing the same.

1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/Build/Step/InstallDir.zig+1
......@@ -99,6 +99,7 @@ fn make(step: *Step, prog_node: std.Progress.Node) !void {
9999 const subdir_path = try src_dir_path.join(arena, entry.path);
100100 try step.addDirectoryWatchInputFromPath(subdir_path);
101101 try cwd.makePath(dest_path);
102 // TODO: set result_cached=false if the directory did not already exist.
102103 },
103104 .file => {
104105 for (install_dir.options.blank_extensions) |ext| {