From 3ec7d0a57c3bf82877b4a40e25a8f55cfb6e94fa 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..b4ae3578ce317 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 }