mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Remove no longer needed cleanup code
This commit is contained in:
parent
092781c1fa
commit
5f2ba2bec8
@ -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)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user