Rollup merge of #121228 - onur-ozkan:fix-clippy-stamp-bug, r=albertlarsan68

create stamp file for 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.

Fixes #119442
This commit is contained in:
Matthias Krüger
2024-02-17 18:47:43 +01:00
committed by GitHub
+1
View File
@@ -399,6 +399,7 @@ pub(crate) fn download_clippy(&self) -> PathBuf {
self.fix_bin_or_dylib(&cargo_clippy.with_file_name(exe("clippy-driver", host)));
}
self.create(&clippy_stamp, date);
cargo_clippy
}