Skip to content

Commit

Permalink
Comment for compute_rerun
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Mark Isaacson authored and facebook-github-bot committed Feb 7, 2024
1 parent 6456575 commit 2937dcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions btd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2937dcd

Please sign in to comment.