Skip to content

Commit

Permalink
Rollup merge of rust-lang#121228 - onur-ozkan:fix-clippy-stamp-bug, r…
Browse files Browse the repository at this point in the history
…=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 rust-lang#119442
  • Loading branch information
matthiaskrgr authored Feb 17, 2024
2 parents eeae3ec + 3ec7d0a commit 0739ce5
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 0739ce5

Please sign in to comment.