Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(artifact): delete old final artifacts before rebuild
Some linkers do not remove the executable, but truncate and modify it. That results in the old hard-link being modified even after renamed. We delete the old artifact here to prevent this behavior from confusing users. See rust-lang#8348.
- Loading branch information