From 327e916ea2a0c43e5f3a51ab2e3d1037a4602d5f Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Sat, 17 Feb 2024 13:19:01 +0300 Subject: [PATCH] create stamp file for clippy in `Config::download_clippy` Due to missing stamp file, we were downloading (and applying nix patches if enabled) continuously every time `Config::download_clippy` was called. This change fixes that by creating stamp file at the end of the function. Signed-off-by: onur-ozkan --- src/bootstrap/src/core/download.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/src/core/download.rs b/src/bootstrap/src/core/download.rs index e63d60feff125..f3f908401f066 100644 --- a/src/bootstrap/src/core/download.rs +++ b/src/bootstrap/src/core/download.rs @@ -399,6 +399,7 @@ impl Config { self.fix_bin_or_dylib(&cargo_clippy.with_file_name(exe("clippy-driver", host))); } + self.create(&clippy_stamp, &date); cargo_clippy }