Skip to content
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

prepare-ex command has extreme latency due to null registry updates #96

Closed
brson opened this issue Jun 8, 2017 · 1 comment
Closed
Labels
C-bug Category: this is a bug

Comments

@brson
Copy link
Contributor

brson commented Jun 8, 2017

Each call to cargo generate-lockfile does a registry update, so this step takes a great amount of time. Cargo itself does not expose a way to avoid this. It is possible to do with the cargo API, but I'd prefer to just use cargo from the command line if possible.

cc rust-lang/cargo#3479

@brson brson added C-enhancement Category: enhancement to an existing feature C-bug Category: this is a bug and removed C-enhancement Category: enhancement to an existing feature labels Jun 8, 2017
@Eh2406
Copy link
Contributor

Eh2406 commented Jan 15, 2018

I think; The line is https://github.com/rust-lang-nursery/crater/blob/28c2e3c74520b9beeab5af781cc5f6cc75815437/src/ex.rs#L460
and cargo ... -Z offline or airplane or something is on its way. So this is almost doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: this is a bug
Projects
None yet
Development

No branches or pull requests

3 participants