-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-offlineArea: offline modeArea: offline modeC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.T-cargoTeam: CargoTeam: Cargodisposition-mergeFCP with intent to mergeFCP with intent to mergefinished-final-comment-periodFCP completeFCP complete
Description
Implementation PR: #4770
Original issue: #4686
Summary:
Running Cargo with -Z offline
flag changes the resolution process such that it only considered crates, already downloaded locally.
Steps:
-
currently, there's no way to populate local crate storage, see Add an "airplane" flag to Cargo, altering it's dependency resolution behavior #4686 for details
-
write precise documentation about effects and intended use-case for this flag. See https://github.com/rust-lang/cargo/blob/5845464cf92a348f95dc6b43133c017c37fcb684/src/doc/src/reference/unstable.md#offline-mode for current docs
Stabilization TODO:
- change
-Z offline
unstable cli option to a stable one, which works the same way as--frozen
and--locked
flags do. -Z offline actively breaks building crate offline #6014
Metadata
Metadata
Assignees
Labels
A-offlineArea: offline modeArea: offline modeC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.T-cargoTeam: CargoTeam: Cargodisposition-mergeFCP with intent to mergeFCP with intent to mergefinished-final-comment-periodFCP completeFCP complete