-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 attempts to re-extract const-arrayvec 0.2.1 #8816
Comments
Trying |
Ah, one clue:
this file is something to do with how Cargo detects timestamps, correct? |
The It looks like the const-arrayvec package has an empty I think it would be reasonable for Cargo to skip and ignore a |
…lexcrichton Skip extracting .cargo-ok files from packages This is for #8816 I'll look into adding a unit test tomorrow, I'm still familiarising myself with the project.
Fixed via #8835. |
It feels like cargo should extract packages somewhere completely separate from where it keeps metadata? For security and debugging sanity's sake. Not very likely, but what if I have a |
This confuses cargo (rust-lang/cargo#8816).
Problem
When building a crate that depends on
const-arrayvec
cargo attempts to write to the~/.cargo/registry
folder even aftercargo fetch
has been run.Steps
Notes
Seems to reproduce on a variety of toolchains back to 1.36 at least, so not something new.
This was noticed on docs.rs, because rustwide uses a very similar sandboxing scheme.
The text was updated successfully, but these errors were encountered: