Skip to content

Commit

Permalink
create stamp file for clippy in Config::download_clippy
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
onur-ozkan committed Feb 17, 2024
1 parent bc1b9e0 commit 3ec7d0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/src/core/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 3ec7d0a

Please sign in to comment.