diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-02-17 13:19:01 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-02-17 13:27:42 +0300 |
| commit | 3ec7d0a57c3bf82877b4a40e25a8f55cfb6e94fa (patch) | |
| tree | ac25c3636826846cd322459ce033bf600acc6e76 | |
| parent | bc1b9e0e9a813d27a09708b293dc2d41c472f0d0 (diff) | |
| download | rust-3ec7d0a57c3bf82877b4a40e25a8f55cfb6e94fa.tar.gz rust-3ec7d0a57c3bf82877b4a40e25a8f55cfb6e94fa.zip | |
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 <work@onurozkan.dev>
| -rw-r--r-- | src/bootstrap/src/core/download.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/download.rs b/src/bootstrap/src/core/download.rs index e63d60feff1..b4ae3578ce3 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 } |
