mirror of
https://github.com/rust-lang/cargo
synced 2024-10-12 10:42:24 +00:00
76cdf9314a
Remove --offline empty index error. This reverts the error added in #6871 which attempts to provide a "nicer" error message if `--offline` is used with an empty index. I was concerned about false positives, and sure enough someone found one. If all deps are patched, it is OK for the index to be empty, because the resolver will just use the patched entries. I considered trying to move the error to another location, but I think it would require significant changes to the registry API (which is already hard to follow). I figure the "not found" error message is good enough with the "don't use --offline" hint. Closes #7582 |
||
---|---|---|
.. | ||
build-std | ||
testsuite |