Skip to content

Commit

Permalink
Unrolled build for rust-lang#121228
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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 rust-lang#119442
  • Loading branch information
rust-timer authored Feb 17, 2024
2 parents 12b5498 + 3ec7d0a commit 1959932
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 1959932

Please sign in to comment.