version=4
# if you need to download other versions replace the URL below with this one:
-# https://static.rust-lang.org/dist/index.html
+# https://static.rust-lang.org/dist/channel-rust-$VERSION.toml
+# and also add searchmode=plain,\
# it's a bit slower to download, that's why we use the other one normally
opts="\
compression=xz,\
" \
https://forge.rust-lang.org/infra/other-installation-methods.html \
- (?:.*/)rustc?-(\d[\d.]*(?:-[\w.]+)?)-src\.tar\.[gx]z
+ https://(?:.*/)rustc?-(\d[\d.]*(?:-[\w.]+)?)-src\.tar\.[gx]z