std.Build.Step.Run: add stdin to cache manifest

This commit is contained in:
Isaac Freund 2023-06-15 20:20:47 +02:00
parent 2d6d2a1d11
commit a2f54fce53

View File

@ -431,6 +431,10 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void {
} }
} }
if (self.stdin) |bytes| {
man.hash.addBytes(bytes);
}
if (self.captured_stdout) |output| { if (self.captured_stdout) |output| {
man.hash.addBytes(output.basename); man.hash.addBytes(output.basename);
} }