Skip to content

Commit

Permalink
Rollup merge of #121228 - onur-ozkan:fix-clippy-stamp-bug, r=albertla…
Browse files Browse the repository at this point in the history
…rsan68

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
  • Loading branch information
matthiaskrgr authored Feb 17, 2024
2 parents b331e6f + 3ec7d0a commit ad71ae1
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 ad71ae1

Please sign in to comment.