Commit 5c3fae3a32

Andrew Kelley <andrew@ziglang.org>
2024-07-10 09:42:41
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 parent 61d2234
Changed files (1)
lib
std
Build
lib/std/Build/Step/InstallDir.zig
@@ -99,6 +99,7 @@ fn make(step: *Step, prog_node: std.Progress.Node) !void {
                 const subdir_path = try src_dir_path.join(arena, entry.path);
                 try step.addDirectoryWatchInputFromPath(subdir_path);
                 try cwd.makePath(dest_path);
+                // TODO: set result_cached=false if the directory did not already exist.
             },
             .file => {
                 for (install_dir.options.blank_extensions) |ext| {