-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows hard-linked executables are modified in place #8348
Comments
This is a consequence of Cargo using a hard link from the actual executable (in the It might be possible to unlink the executable before running the build. I'm uncertain what the consequences of that would be. |
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.
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.
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.
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.
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.
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.
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.
Problem
As the title says, cargo overrides all executables in a build folder. Expected behavior: don't override unrelated executables.
Steps
Notes
It doesn't work with third-party binary.
Output of
cargo version
:cargo 1.45.0-nightly (9fcb8c1 2020-05-25)
The text was updated successfully, but these errors were encountered: