Skip to content

Commit 944a122

Browse files
committed
docs(user-guide/environment-variables): document RUSTUP_VERSION
1 parent 62b09ea commit 944a122

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/user-guide/src/environment-variables.md

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
- `RUSTUP_UPDATE_ROOT` (default `https://static.rust-lang.org/rustup`). Sets
2626
the root URL for downloading self-update.
2727

28+
- `RUSTUP_VERSION` (default: none). Overrides the rustup version (e.g. `1.27.1`)
29+
to be downloaded when executing `rustup-init.sh` or `rustup self update`.
30+
2831
- `RUSTUP_IO_THREADS` *unstable* (defaults to reported cpu count). Sets the
2932
number of threads to perform close IO in. Set to `1` to force
3033
single-threaded IO for troubleshooting, or an arbitrary number to override

0 commit comments

Comments
 (0)