-
Notifications
You must be signed in to change notification settings - Fork 31
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
Cargo build does not update access times for existing files #11
Comments
Have been really busy but now have tried this on OSX as well. Here we run in to the exact same issue. This very aggressive cleaning (i.e only keeping latest version) points out an issue with the general approach of access/modified times where Cargo can completely jump over reading many of the needed build files. And with unmodified access times there is no way to distinguish what is being used or not. One possible "solution" is to do something as discussed in #6 in which only certain build files are cleaned keeping the partial results intact and therefor the build times fast. Otherwise we might simply have to wait for the stabilization of |
After a little more research into the output directories of Cargo. Only the A short time solution might be to remove the -s and -f commands until For earlier discussions on regarding this see #9 |
I would love to see an implementation based on the |
I hope to manage to allocate some time to work on a nightly-only implementation using |
Same issue here on Linux. Given that it does remove files even if they are somewhat needed for next compilations, that makes the tool pointless for me : I might as well just cargo clean. Couldn't we identify which artifacts are built for the current version of each library present in the |
39: Don't use cargo sweep in CI r=MikailBag a=MikailBag It seems that until holmgr/cargo-sweep#11 is resolved, cargo-sweep in CI is broken bors r+ Co-authored-by: Mikail Bagishov <bagishov.mikail@yandex.ru>
@Ten0 thats exactly what the build-plan is for: avoiding reimplementing all the cargo internals that are used to determine exactly what files an artifact depends on, recursively. |
Was looking into #8 and #9 when I seemed to discover an issue with access times on Windows.
After making sure that
NtfsDisableLastAccessUpdate
was disabled I did the following.Will look into this more in the coming days when I have the time as this is quite the serious issue for the windows platform.
The text was updated successfully, but these errors were encountered: