development/rustup: Support building newer versions.

These won't build on 14.2, but this slackbuild should now support
building newer versions of rustup on -current.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2020-04-05 07:51:34 +12:00 committed by Willy Sudiarto Raharjo
parent 577c50d3f0
commit 85ef2346fc
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ cd $PRGNAM-$VERSION
# build offline
# configuration tells cargo to use the configured directory
# for dependencies intead of downloading from crates.io
mkdir .cargo
mkdir -p .cargo
cat << EOF >> .cargo/config
[source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index'