rust: rework

This commit is contained in:
awiouy 2018-05-19 10:04:23 +02:00
parent 6fa338ae66
commit 0d0b97b056

View File

@ -17,12 +17,11 @@
################################################################################
PKG_NAME="rust"
PKG_VERSION="1.23.0"
PKG_VERSION="1.26.0"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://www.rust-lang.org"
PKG_URL=""
PKG_DEPENDS="toolchain"
PKG_DEPENDS_TARGET="toolchain rustup.rs"
PKG_SECTION="devel"
PKG_LONGDESC="Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety."
PKG_IS_ADDON="no"
@ -42,7 +41,7 @@ make_target() {
export RUSTUP_HOME="$CARGO_HOME"
export PATH="$CARGO_HOME/bin:$PATH"
rm -rf "$CARGO_HOME"
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y
$(get_build_dir rustup.rs)/rustup-init.sh --no-modify-path -y
rustup default "$PKG_VERSION"
case "$TARGET_ARCH" in
aarch64)