Cargo geiger deletes the entire target directory without warning #168
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
important
If you want to contribute, please consider this issue before others.
Milestone
This is very undesirable for several reasons:
target/
can sometimes store things people want to keep long-term like results of benchmarks (criterion stores them intarget/criterion/
) - geiger deletes the entiretarget/
directory even though it seems to only needtarget/debug/
andtarget/.rustc_info.json
.target/
among multiple projects as described here, it deletes everything so i have to rebuild every rust project on my computer from scratch.I don't know why it needs to delete anything at all - my understanding is everything in
target/
should be checksumed so if things get built with different config options, it'll result in different hashes - there should be no conflicts.If geiger really needs to rebuild everything in some weird way incompatible with how
target
normally works, it should use a separate directory (perhapstarget/geiger/
).The text was updated successfully, but these errors were encountered: