rustup.sh
rustup.sh copied to clipboard
Cannot find out what options are valid for --revision
I want to install rust in a Dockerfile in a way that is reproducible, and future proof. The apt install rustc is too old, so I'm trying rustup.
I was reading the --help for rustup. It has this example:
rustup.sh --revision=1.0.0-beta
But I cannot find any way to enumerate valid options for revision. Here's a dockerfile that mentions "1.4.0".. In fact, "1.4.0" worked for me, but "1.0.0-beta" from the docs did not. Nor did "1.13.0-beta".
I was able to get "1.12.0" to work, which is fine for my purposes, but:
- it would be great to have a page to visit to enumerate these, ideally linked from the docs
- I don't know if this is intended to be a stable way to install rust that will work N years in the future.