Skip to content

Commit a2ca0ab

Browse files
committed
Auto merge of #2411 - sbeckeriv:cargo-cache-doc-update-1609, r=alexcrichton
Per #1609 "clarify how the cache works" Added in a single line that states that the cached packages are only removed by running the clean command. Please let me know if this is the wrong spot, incorrect information or just silly. Thanks becker
2 parents 8bb55a7 + 7695869 commit a2ca0ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/environment-variables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Here are a list of the variables Cargo sets, organized by when it sets them:
1515

1616
* `CARGO_HOME` - Cargo maintains a local cache of the registry index and of git
1717
checkouts of crates. By default these are stored under `$HOME/.cargo`, but
18-
this variable overrides the location of this directory.
18+
this variable overrides the location of this directory. Once a crate is cached
19+
it is not removed by the clean command.
1920
* `CARGO_PROFILE` - If this is set to a positive integer *N*, Cargo will record
2021
timing data as it runs. When it exits, it will print this data as a profile
2122
*N* levels deep.

0 commit comments

Comments
 (0)