Skip to content

Commit e1a5fca

Browse files
committed
CONTRIBUTING: Document RUSTUP_MAX_RETRIES
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent 76a47f7 commit e1a5fca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,13 @@ than 1, it is clamped to 1 at minimum.
140140
This is not meant for use by users, but can be suggested in diagnosing an issue
141141
should one arise with the backtrack limits.
142142

143+
### `RUSTUP_MAX_RETRIES`
144+
145+
When downloading a file, rustup will retry the download a number of times. The
146+
default is 3 times, but if this variable is set to a valid usize then it is the
147+
max retry count. A value of `0` means no retries, thus the default of `3` will
148+
mean a download is tried a total of four times before failing out.
149+
143150
### `RUSTUP_BACKTRACE`
144151

145152
By default while running tests, we unset some environment variables that will

0 commit comments

Comments
 (0)