summaryrefslogtreecommitdiffstats
path: root/source/d/rust
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/rust')
-rwxr-xr-xsource/d/rust/rust.SlackBuild12
-rw-r--r--source/d/rust/rust.url9
2 files changed, 10 insertions, 11 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index 7c045f4b9..99b86d080 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
-VERSION=${VERSION:-1.51.0}
+VERSION=${VERSION:-1.52.1}
BUILD=${BUILD:-1}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
@@ -34,9 +34,9 @@ BUILD=${BUILD:-1}
SYSTEM_LLVM=${SYSTEM_LLVM:-YES}
# Bootstrap variables (might not be kept updated for latest Rust):
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.50.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2021-02-11}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-1.50.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.51.0}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2021-03-25}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-1.51.0}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
# Automatically determine the architecture we're building on:
@@ -232,8 +232,8 @@ elif [ "$BARCH" = "i686" ] ; then
fi
# Build and install:
-python x.py dist || exit 1
-DESTDIR=$PKG python x.py install || exit 1
+python3 x.py dist || exit 1
+DESTDIR=$PKG python3 x.py install || exit 1
# Eh, none of this is all that big. Might as well leave it around as a
# reference.
diff --git a/source/d/rust/rust.url b/source/d/rust/rust.url
index d4f76ed3d..b77baf645 100644
--- a/source/d/rust/rust.url
+++ b/source/d/rust/rust.url
@@ -1,5 +1,5 @@
# Source code (repacked to .tar.lz):
-VERSION=1.51.0
+VERSION=1.52.1
rm -f rustc-${VERSION}-src.tar.*
lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz
lftpget https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz.asc
@@ -20,9 +20,9 @@ fi
# update the settings below, look at src/stage0.txt in the Rust sources.
exit 0
-BOOTSTRAP_DATE=2021-02-11
-BOOTSTRAP_CARGO=1.50.0
-BOOTSTRAP_VERSION=1.50.0
+BOOTSTRAP_DATE=2021-03-25
+BOOTSTRAP_CARGO=1.51.0
+BOOTSTRAP_VERSION=1.51.0
# i686 bootstrap:
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-i686-unknown-linux-gnu.tar.gz
@@ -33,4 +33,3 @@ lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VE
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/cargo-${BOOTSTRAP_CARGO}-x86_64-unknown-linux-gnu.tar.gz
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rust-std-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.gz
lftpget https://static.rust-lang.org/dist/${BOOTSTRAP_DATE}/rustc-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.gz
-