From 2937dcde70a10c00d6b72124593241b13fe9e1a9 Mon Sep 17 00:00:00 2001 From: Mark Isaacson Date: Tue, 6 Feb 2024 16:39:01 -0800 Subject: [PATCH] Comment for compute_rerun Summary: This took a little figuring out when I was reading the code, so figured I'd add a comment. Reviewed By: ndmitchell Differential Revision: D53361033 fbshipit-source-id: 90c12ecd4400920d49548f87d53adde104ba0666 --- btd/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/btd/src/lib.rs b/btd/src/lib.rs index f21de12..09ec539 100644 --- a/btd/src/lib.rs +++ b/btd/src/lib.rs @@ -266,6 +266,9 @@ pub fn main(args: Args) -> anyhow::Result<()> { Ok(()) } +/// Tells us which things might have changed, and therefore what +/// we should run buck2 targets on at the diff revision to +/// properly check if it really did change. fn compute_rerun( base: &Targets, changes: &Changes,