Remove no longer needed cleanup code

This commit is contained in:
Jakub Stasiak 2020-07-01 23:44:14 +02:00
parent 092781c1fa
commit 5f2ba2bec8

View File

@ -175,9 +175,6 @@ pub fn clean(ws: &Workspace<'_>, opts: &CleanOptions<'_>) -> CargoResult<()> {
// TODO: what to do about build_script_build?
let incremental = layout.incremental().join(format!("{}-*", crate_name));
rm_rf_glob(&incremental, config)?;
if let Some(uplift_dir) = uplift_dir {
rm_rf(&uplift_dir.join("CACHEDIR.TAG"), config)?;
}
}
}
}