From 5c3fae3a329bed39f780827b4c5bfc494dee1c6b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 10 Jul 2024 00:42:41 -0700 Subject: [PATCH] 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. --- lib/std/Build/Step/InstallDir.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/Build/Step/InstallDir.zig b/lib/std/Build/Step/InstallDir.zig index 9cd71e7828..8cb06641ec 100644 --- a/lib/std/Build/Step/InstallDir.zig +++ b/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| {