Somewhat fix pre-cache

This commit is contained in:
Aleksey Kladov 2020-08-13 16:31:04 +02:00
parent b28c54a2c2
commit 50f8c1ebf2

View file

@ -139,7 +139,7 @@ pub fn run_pre_cache() -> Result<()> {
}
fs2::remove_file("./target/.rustc_info.json")?;
let to_delete = ["ra_", "heavy_test", "xtask"];
let to_delete = ["hir", "heavy_test", "xtask", "ide", "rust-analyzer"];
for &dir in ["./target/debug/deps", "target/debug/.fingerprint"].iter() {
for entry in Path::new(dir).read_dir()? {
let entry = entry?;